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

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

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 27 күн бұрын
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 М.
How to get input from user in Array JavaScript (Hindi)
14:45
Geeky Shows
Рет қаралды 63 М.
Hot Ball ASMR #asmr #asmrsounds #satisfying #relaxing #satisfyingvideo
00:19
Oddly Satisfying
Рет қаралды 51 МЛН
Final muy inesperado 🥹
00:48
Juan De Dios Pantoja
Рет қаралды 16 МЛН
ТАМАЕВ vs ВЕНГАЛБИ. ФИНАЛЬНАЯ ГОНКА! BMW M5 против CLS
47:36
Advanced Golang: Channels, Context and Interfaces Explained
22:17
Code With Ryan
Рет қаралды 109 М.
Solving Uber Frontend Interview Question | Interactive Shape
26:11
Devtools Tech
Рет қаралды 20 М.
JavaScript Array Mastery: Tips, Tricks & Best Practices
1:02:49
Envato Tuts+
Рет қаралды 17 М.
5 Tips To Write Better Python Functions
15:59
Indently
Рет қаралды 90 М.
Python Classes Tutorial #5 | Advanced Concepts
10:08
Aikonic
Рет қаралды 7 М.
Rust Functions Are Weird (But Be Glad)
19:52
Logan Smith
Рет қаралды 127 М.
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 1,6 МЛН
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 6 МЛН
сюрприз
1:00
Capex0
Рет қаралды 1,4 МЛН
Секретный смартфон Apple без камеры для работы на АЭС
0:22