Тёмный

Solving LinkedIn Frontend Interview Question | Tuple | Arrays of Array | JavaScript 

Devtools Tech
Подписаться 34 тыс.
Просмотров 1,6 тыс.
50% 1

In this video, we will solve a front-end interview question from top companies like LinkedIn. We will implement a function called tuple that converts the input string into array of arrays. It should support a method multiple that returns the multiplication result of ith position element provided as input
Question link: devtools.tech/questions/s/imp...
Support Us: topmate.io/yomeshgupta/748345
Try now using the links below
devtools.tech/questions/all?t...
devtools.tech/list/all
You can support our channel via:
rzp.io/l/support-devtools-tech
devtoolstech.gumroad.com/l/su...
www.buymeacoffee.com/yomeshgupta
************************************************************
Devtools Tech is a RU-vid channel started as a collaborative effort among like-minded engineers to provide high-quality programming tutorials for free. We firmly believe in knowledge sharing and easy access to quality content for everyone. Hence, this channel is an effort to give back to the community and a step toward our belief -- "We rise by lifting others".
Interview questions: devtools.tech/questions/all?r...
Interview resources: devtools.tech/resources/all?r...
Hidden Gem: devtools.tech/crazyones
Team Members:
Yomesh Gupta
Portfolio: yomeshgupta.com
LinkedIn: / yomeshgupta
Twitter: / yomeshgupta
#javascript #ai #web #frontend #interviewquestions #devtoolstech #code #programming #developement #devtoolstech #code
***********************************************************

Наука

Опубликовано:

 

20 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@user-so6no8mi2z
@user-so6no8mi2z 26 дней назад
great explanation, keep up the consistency !
@DevtoolsTech
@DevtoolsTech 26 дней назад
Thanks! ♥️
@sujalgupta6100
@sujalgupta6100 Месяц назад
Hi Yomesh, is there any video of yours for guiding for prep for interview like from JS Topics to cover + What concepts/kind of questions one must prepare as there are so many of them. Some folks keep posting huge list of JS concepts + Output based questions + Polyfill based questions + Any component implementation like Chip or OTP form etc. What to prepare form all of them ? Or maybe how much, it feels way too much.
@DevtoolsTech
@DevtoolsTech Месяц назад
Hey, I don't have curated list. This is too big so any list will become big eventually. I will try to create something already it ajd share soon!
@AnkitGupta-lr1qq
@AnkitGupta-lr1qq 28 дней назад
Great explanation. Wondering if it'd be better to throw OR return something like NaN instead of 0 inside the multiple method when the array length is 0. 0 might be a valid return value as well and doesn't distinguish enough from an edge case (like the empty array)
@DevtoolsTech
@DevtoolsTech 27 дней назад
Valid point. This is also a discussion point with interview about what is the expected behaviour. I agree that 0 is a valid output. However, we need to make a decision that should we break the application by throwing an error or return 0 that shows like a default output as for user if the application breaks then that is a really bad experience.
@jithendra16
@jithendra16 Месяц назад
Can you please make a video on how to write regex expressions Also any explanation on why did you use prototype to find whether that index is present? It will be helpful
@DevtoolsTech
@DevtoolsTech Месяц назад
Thanks for the suggestions! I will include it in future videos!
@sourabhrajwade1061
@sourabhrajwade1061 День назад
Nice explanation. I did it by using transversing the tuple array. I have one question though. Why you added multiple in Array prototype ? Shouldn't it be tuple's property?
@DevtoolsTech
@DevtoolsTech День назад
Depends upon the interviewer what they want to test. Both works. I added on tuple because of convenience as we dont need to take care of a lot of edge cases in thatcase.
Далее
Top Coding Practices to Become a 10x Engineer
25:26
Просмотров 1,4 тыс.
Comedy Moments 🤣 #2
00:25
Просмотров 3,8 млн
JavaScript Array Mastery: Tips, Tricks & Best Practices
1:02:49
Python Classes Tutorial #5 | Advanced Concepts
10:08
`const` was a mistake
31:50
Просмотров 115 тыс.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
FASTEST Way To Learn Coding and ACTUALLY Get A Job
10:44
My Brain after 569 Leetcode Problems
7:50
Просмотров 2,4 млн