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

  Рет қаралды 1,605

Devtools Tech

Devtools Tech

Күн бұрын

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 KZfaq 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
***********************************************************

Пікірлер: 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
Devtools Tech
Рет қаралды 1,4 М.
Solving Uber Frontend Interview Question | Interactive Shape
26:11
Devtools Tech
Рет қаралды 21 М.
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 83 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 2 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 61 МЛН
JavaScript Array Mastery: Tips, Tricks & Best Practices
1:02:49
Envato Tuts+
Рет қаралды 17 М.
`const` was a mistake
31:50
Theo - t3․gg
Рет қаралды 114 М.
All 71 built-in Python functions
19:58
mCoding
Рет қаралды 42 М.
FASTEST Way To Learn Coding and ACTUALLY Get A Job
10:44
Brian Cache
Рет қаралды 939 М.
My Brain after 569 Leetcode Problems
7:50
NeetCode
Рет қаралды 2,4 МЛН
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
Coding Interviews Be Like
5:31
Nicholas T.
Рет қаралды 6 МЛН
сюрприз
1:00
Capex0
Рет қаралды 1,4 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 2,3 МЛН
Настоящий детектор , который нужен каждому!
0:16
Ender Пересказы
Рет қаралды 434 М.
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 24 МЛН