Follow me on Instagram or you may fail in your interview 🤓 - instagram.com/roadsidecoder/ If this video gets good response, I will make more interview videos, so, do share it with others 🔥
@jaisharma5452 жыл бұрын
++ Follower;
@aahaan86472 жыл бұрын
Please add video about jest unit testing
@akshayshinde24032 жыл бұрын
I would like to know for what position you applied? SDE1 or SDE2
@gullukumar44972 жыл бұрын
@@aahaan8647 bhai documentation padhna start kr warna tutorial dekhte dekhte zindagi nikal Jani h
@gullukumar44972 жыл бұрын
@@akshayshinde2403 ye sare questions SD1 ke h bhai.
@ayushsingh89752 жыл бұрын
Really need DSA with JS and it will be great to learn from you.
@nikhildosapati87192 жыл бұрын
The video was very helpful. Can you please create a series which have questions about DSA with JS? That would really help many developers. Thanks :)
@nirmalshah99472 жыл бұрын
A simplified version of pangram can be this too: const string = "when zombies arrive quickly fax judge pat"; const alphabet = "abcdefghijklmnopqrstuvwxyz"; const isPangram = (alphabet, str) => { let result const alphabetArr = [...alphabet]; for (let i = 0; i < alphabetArr.length; i++) { if (str.includes(alphabetArr[i])) { result = true; } else { result = false; } } return result; }
@SuperYoman1002 жыл бұрын
We can use Regex for this as well, right?
@nirmalshah99472 жыл бұрын
@@SuperYoman100 You can, yes but personally, I tend to keep my programs as simple as possible. 10 years of experience with JS has taught me this at least
@divyummmmmm Жыл бұрын
Its not giving correct result
@Abhishek_raj_gupta Жыл бұрын
after 10 yr developer will forget dsa and basic logic like you. run with str = "z" you'll get true lol
@RoshanBakhla2 жыл бұрын
Bhaiya make more video related to frontend interview questions……👍
@RoadsideCoder2 жыл бұрын
Definitely
@venkateshpachigulla Жыл бұрын
new Set(str.replaceAll(' ','').toLowerCase().split('')).size===26 For Pangram string checker.
@arunbohra43462 жыл бұрын
this.name will not be undefined in the arrow function rather it would be an empty string as window object consists of a name property. If we use it in some other environment like nodejs then it would be undefined. BTW I like your videos they help a lot
@sshikhar42902 жыл бұрын
That's super helpful. Thank you so much for this interview Q&A series, helps soooooo much. If possible could you please make a DSA series using Js. Thanks in advance 🙂
@atmanirbharladka44672 жыл бұрын
Tazorpay ? It's so difficult to figure out which company it was. Unable to think of any other fintech with similar name. So subtle.
@RoadsideCoder2 жыл бұрын
Lol, ikr I'm so smart 😎🤓
@arunbohra43462 жыл бұрын
Instead of waiting 2000 years for create-react-app you can use vite. Only thing about vite is that it provides a minimal setup for development.
@ishansharma34332 жыл бұрын
Could you please explain while changing quantity you use the filter instead of map. As I understand, a filter doesn't change the value of elements of the array but filters out elements based on condition. Why this is giving correct output?
@jonnjon1 Жыл бұрын
Maybe you have already solved it but after a lot of research I understood what he did. Min 23:11 line 16. Cart Is being reassigned the previous version of itself but filtered: - the filter : it will first find the product with the provided id. - Then the ternary ( if) it will use the filter to asign a new value to Qty which is the new payload ( previously changed to +1 or -1 ) if the qty is 0 the filter will consider it as false, so the element will not be added to the filtered array. -after the : it will return the updated quantity Please correct my if I'm wrong, but this is the conclusion that I found after hours of being stuck with this masterful piece of code.
@RoadsideCoder Жыл бұрын
Its because filter will only return those filtered put elements but map will return filtered out elements along with empty slots for other elements
@subhadeepghosh2813 Жыл бұрын
why its getting removed autometically from cart ?
@nikithamalkapuram87282 жыл бұрын
Please Please do DSA with Js series. I rejected lot of interviews with this DSA only.
@darshitraj16942 жыл бұрын
Recently,I gave Zepto's UI Interview. For Cart login I used Arrays to store every object's data. Basically, I used Array of Objects. I created full flexed working app. A day later, I WAS REJECTED. Feedback was - I should have used Objects for cart instead of Array :( People say anything to reject. Please help if there could be a better way to store cart items.
@darshitraj16942 жыл бұрын
*logic
@rotembs2 жыл бұрын
@@darshitraj1694 They wanted to see something like that probably: [{productName: "MacBook", price: 50, quantity: 2}, {...}]
@mohammadyasir-ci7gf Жыл бұрын
Basically interviewer wanted to store the cartItems like this. {“randomId”:{itemName:”mobile,price:10,quantity:10} where randomId is a cartItem Id, there are many ways to create randomId in js. I think interviewer was saying to use Object over array because of time complexity to remove an item from cart. If you use array the time complexity would be O(N) but if you use object the time complexity would be O(1). But wait, it doesn’t mean that Object will be always efficient, it’s totally depend upon the requirement. lets say if we want to know how many items are added in cart, or last 5 items added in cart. In these cases the array option will work better that object. Anyway I think as an interviewer its better to ask follow-up questions in these situations rather than directly rejecting the candidates. Remember we can’t make ourself 100% rejection proof, there could be any reason for rejection. Hope you must be doing great somewhere now😊
@DarshitRaj Жыл бұрын
@@mohammadyasir-ci7gf first of all, Eid Mubarak Yasir bhai. You answer is something I was searching for sometime now. Yes, the approach with objects are better with performance centric apps, maybe, which involves frequent addition/removal. I stayed in my current company for stable work enviroment.
@munawarmunna22322 жыл бұрын
Yes please make videos on DSA with javascript..
@harshitjain32322 жыл бұрын
Want you create dsa for javascript, containing interview like questions.
@SalmanKhan-lx9kp2 жыл бұрын
This video is great! You must create DSA with JS full playlist.
@abhishekvishwakarma90452 жыл бұрын
After watching LRU cache question can you create a video on generators in javascript that'll be helpfull 😀
@RoadsideCoder2 жыл бұрын
Sure
@venkateshpachigulla Жыл бұрын
Do you know about conic-gradient and percentage variable before interview? I saw for the first time.
@RAUSHANKUMAR-vu5hy2 жыл бұрын
Your javascript tut is very helpful for me understand easily the core concept
@rlxgroot2782 жыл бұрын
Great one. We want DSA series in javascript 😍
@sayurikamble8252 жыл бұрын
This is how I solved the Pangram Question: function checkPangram(str) { const arr = [] const sentenceArr = str.toUpperCase().split("").filter(item => item != " ") sentenceArr.map((alphabet) => { if (!arr.includes(alphabet)) { return arr.push(alphabet) } }) return arr.length === 26 ? "Pangram" : "Not Pangram" }
@Abhishek_raj_gupta Жыл бұрын
what is string has numbers.
@MusicalOcean2 жыл бұрын
Please create DSA playlist for Js
@rahulpandey83332 жыл бұрын
We all need full DSA course with javascript.
@kritisharma4653 Жыл бұрын
case "ADD_TO_CART": return { ...state, cart: [{ ...action.payload, qty: 1 }, ...state.cart] }; What does it mean??
@Frameddelight Жыл бұрын
cart filter would return action.payload.qty, and that would be used as a filtering condition, if it matches the product id and qty is returned, the 0 qty would be treated as false thus filtering that from the array.
@rajesh-royal2 жыл бұрын
were you selected, what package, perks they offer - you dont have to mention the CTC, just if it was competative
@gullukumar44972 жыл бұрын
Bhai CTC bata diya to blacklist kr denge
@soumitahalder24242 жыл бұрын
@@gullukumar4497 kon karegaa ?? Company ?
@simionandrei54092 жыл бұрын
Nice video Piyush! I think some videos about Generators and Data Structure will be really useful! Keep up the good work!
@esmamanyt704811 ай бұрын
I have one confusion in DSA question can we allow using other language like c++ and java because this is the most common languages for dsa and i also solved the lru cache question but in js and c++ approach is very different special implementation ???
@RoadsideCoder11 ай бұрын
In frontend most interviewers won't allow any other language than JS
@TechNikky Жыл бұрын
23:23 if we go below 1 how the hack that item removes automatic from cart instead of changing carty quantity to 0. Please explain krdo boht confuse horha hai
@Frameddelight Жыл бұрын
cart filter would return action.payload.qty, and that would be used as a filtering condition, if it matches the product id and qty is returned, the 0 qty would be treated as false thus filtering that from the array.
@AjithKumarsham Жыл бұрын
Nice video, Just wanted to share a more simpler way for checking pangram function isPangram(string) { let strArr = string.toLowerCase(); let alphabet = "abcdefghijklmnopqrstuvwxyz".split(""); for (const str of strArr) { if (strArr.indexOf(alphabet[str]) < 0) { return false; } } return true; }
@jenso4132 жыл бұрын
just some advice, I know the focus wasn’t supposed to be on styling, but you adding all those inline styles made the first react question very hard to look at. If you don’t want to worry about styling in the video, just create a pre made css style sheet, and add classes as you go. Would make things a lot easier to watch
@RoadsideCoder2 жыл бұрын
Agreed, Thanks for the advice.
@piyushchopade78782 жыл бұрын
@@RoadsideCoder For how much work ex is this expected?
@RoadsideCoder2 жыл бұрын
@@piyushchopade7878 1 year, Thie however can be asked in any experience
@shashidharvarne10592 ай бұрын
Great video! Just one quick question.. was this for SDE 1 or SDE 2 position? Thanks in advance
@RoadsideCoder2 ай бұрын
sde 1
@akrammohammed35812 жыл бұрын
We need DS with js pls do a series on that
@coder-webdev59072 жыл бұрын
Somebody help me in this problem Please write solution in javascript Write a function called do_allocation(number_of_people, number_of_buses) The function should return a list of number of people who can get into the next bus that comes in based on the following logic: Each bus’s capacity is the sum of the capacities of the previous two buses. Once all the people get in, then the buses can continue, but will have 0 people inside it. This is the case when the number of people are less and there are more buses. So after all the people are already boarded, then the remaining buses will have 0 people boarding. The output of the function is an array/list with the same length as number_of_buses. The total of this output array/list should be less than or equal to the number_of_people. The first bus’ capacity can be set to 1 by default. E.g. Def do_allocation(number_of_people, number_of_buses): …. Your code…. Return array[number of people got into first bus, number of people got into second bus, …. , number of people who got into last bus]
@ichiroutakashima4503 Жыл бұрын
I hate how you can make things so easy, yet when I'm APPLYING it myself, I blank out. I wish I could be good as you. Any tips? I've been studying for a year now and I feel like I've not done enough yet to learn the basic, I just don't feel confident at all.
@lokeshnegi50512 жыл бұрын
so were you hired after smashing the interview or not ?
@punitdixit8612 жыл бұрын
Hi Thanks for creating such good coding video. Please create DS/Algorithm in JavaScript
@CodeWithAhsan2 жыл бұрын
If you're looking for visual examples for DS with JS, you can check the following, until he uploads one :) Playlist: kzbin.info/aero/PL2sQdFoGnLIgTJ4hP3ab4HoPOe4BT4ose Demo : ahsanayaz.github.io/fun-with-javascript/ Sorry for replying to multiple comments :) I feel like the playlist can benefit a lot of folks here.
@lebnew82182 жыл бұрын
Why I found this interview so hard !! 🥲🥲🥲
@ssmohanty1532 жыл бұрын
Thank you so much for this interview Q&A series, helps so much. If possible please make a DSA series using java script
@user121304 Жыл бұрын
After doing such good coding interview, that called u for second round??? They could have hired you right away 😅
@banglanews13682 жыл бұрын
hii.. bro, i want to create inshort like news app from you.. please tell me how much money you want ? bro my budget is too low..
@ashishverma1382 Жыл бұрын
great video
@ramkrushnaprabhu80272 жыл бұрын
Sir please create tutorial on Ecommerce website creation by using MERN technology
@rakaa312 жыл бұрын
please create DSA with js series
@rohitdesai36152 жыл бұрын
Bhai mai mechanical se huun. Aur abhi start kiya huun web development What you think Please give any tips
@TopTalentBridge2 жыл бұрын
Definitely want to have a talk with you. I will book a call with on topmate in next 2 weeks for sure.
@munawarmunna22322 жыл бұрын
Bro make videos on Mostly asked DSA interview questions..
@noaakshay7 ай бұрын
27:24 in one line 'abcdefghijklmnopqrstuvwxyz'.split('').every(x=>str.indexOf(x) !== -1)
@ChhikaraBRUH2 жыл бұрын
please create a DSA in JS series
@pranavpatil83512 жыл бұрын
Plz Do make a playlist on Data structures n alorithyms with JavaScript
@veereshkumar640 Жыл бұрын
it is very usefull video can you please create DSA with JS
@gopisrinivas44852 жыл бұрын
WNice tutorialch version do you use to get all the setup and polyphonic softs?
@successmotivationpoint49252 жыл бұрын
Was this interview for fresher or experience bcz level of question i think is not for freshers ?
@ravikumar76762 жыл бұрын
Yes DSA series .. i m having so much problem in DSA part .
@cb5592 жыл бұрын
Data structures with Js is must needed in KZbin but it's must a detailed one with all cases of data structures covered
@shivanshusingh4877 Жыл бұрын
DSA with Javascript
@mohininarwade1108 Жыл бұрын
Also how do you copy paste so fast? whats the shorcut control? please tell
@madetolaugh34762 жыл бұрын
Waise Kitna Time lagega React Js sikhne mein.....ki interviewer koi problem de or hum solve kar le ? Aapne kaha se sikha tha javascript and react js ? Plzz reply
@shridharshikalgar96412 жыл бұрын
Fresher ko etna nhi puchte hey Bhai core aur advanced concept pey questions puche jaate hey, concepts clear hona chahiye, face to face interview mey questions puche jaate hey bass
@RapidReels4Youu Жыл бұрын
Need more videos like this thanks for sharing keep it up brother
@jhaganb9215 Жыл бұрын
Hi bro, love your content and the vibe of the video so wanna ask you a question that is is there a internship which is only for frontend developer and how can i apply for it. Looking for you reply
@randomsVlogs8712 жыл бұрын
Love you from Pakistan 🇵🇰❤️
@husler74242 жыл бұрын
Did you get selected or not? (for me I guess you should be selected)
@ashishmadan57002 жыл бұрын
Amazing video very helpful, Please create DSA series in javascript 🔥🔥
@0Ipsita0 Жыл бұрын
Yes, create separate DSA video playlist.
@RoadsideCoder Жыл бұрын
Already did, check my channel
@RichaKejriwal9 ай бұрын
This was for which position? SDE2 or SSE?
@RoadsideCoder9 ай бұрын
SDE1
@indianinvestor13012 жыл бұрын
Bro, im preparing fronrend interview need ur guidness ❤
@RoadsideCoder2 жыл бұрын
Hey, you can book a call with me here - topmate.io/roadsidecoder
@RAUSHANKUMAR-vu5hy2 жыл бұрын
Please make more video fronted developer related
@RoadsideCoder2 жыл бұрын
For sure. If this one does good I'll make more!
@s1k_guy2 жыл бұрын
Bro. Make vedios on javascript data structure please
@damon49072 жыл бұрын
Yes we want dsa with js
@kishoreramesh81102 жыл бұрын
Tazorpay? Or razorpay
@premsolanki75702 жыл бұрын
We need a series of DSA Please do it sir !!!
@romiljain75952 жыл бұрын
waiting for series DSA + JS questions and what can be the level of questions interviewer can ask
@sreekanthps53442 жыл бұрын
bro please make dsa with javascript
@aakashjyoti45802 жыл бұрын
bro your videos really help me in my interviews too.. thnakyou..
@rakaa312 жыл бұрын
hey, so i been learning react for quit a while, i can make e-commerce, twitter like websites in react and know JS well so can i start to give interviews?? for frontend roles??
@haniahani53518 ай бұрын
Yes you can
@reethikavanaparthy69842 жыл бұрын
please can u suggest a good resume builder
@rajeshprasadh37172 жыл бұрын
suuuper helpful video, thanks man!
@narendra33852 жыл бұрын
How Much Level Of Experience to get these all Questions ?? . Really, Huge Subject and It's cover all the Important Concepts in JavaScript and React.js
@RoadsideCoder2 жыл бұрын
It was for a junior role
@narendra33852 жыл бұрын
@@RoadsideCoder Thankyou
@abhishekvishwakarma90452 жыл бұрын
Awesome walkthrough of interview experience😎🔥
@vishalmane3139 Жыл бұрын
hVe u failed any interview 😂
@ιυ_αα-ξ5σ2 жыл бұрын
Super great video makes excited to learn more and get started! Love the "stay organized" motto !!
@extux9090 Жыл бұрын
Yes please do it DSA+JS
@ANONYMOUS-wx5kc2 жыл бұрын
Pls make a video on dsa with js
@mohininarwade1108 Жыл бұрын
don’t you have any React JS course created by you?
@atharshakeel7277 Жыл бұрын
Loved the video Piyush. And yes, we require a DSA with JS tutorial playlist.
@adityanimgade22002 жыл бұрын
you can do what you want!
@MrK-nb7xr2 жыл бұрын
Kitna offer kiya .. 40LPA ..?
@rachit555552 жыл бұрын
RazorPay FEIII is 55LPA.
@jahirhassan4492 жыл бұрын
create a series of dsa with js
@purutopeta30992 жыл бұрын
portfolio website down?
@varuns37632 жыл бұрын
Yes we need data with java
@nasarshaik52072 жыл бұрын
yes, please make playlist for these type of DS and Algo
@rahulmore68102 жыл бұрын
DSA with JavaScript 🙌
@shacodes2 жыл бұрын
Switch kr va ke hi manoge sir
@sachinporwal42752 жыл бұрын
please make a DSA series using Js
@soumyaranjanpanda75322 жыл бұрын
please create a DSA videos. That would be really helpful
@CodeWithAhsan2 жыл бұрын
You can probably get started with this. Until he uploads a series. Playlist: kzbin.info/aero/PL2sQdFoGnLIgTJ4hP3ab4HoPOe4BT4ose Demo : ahsanayaz.github.io/fun-with-javascript/
@vikulkumar33762 жыл бұрын
It will be great if you are creating a one series of DS with JS.
@ganeshkhirwadkar41272 жыл бұрын
Bahut hi sahi bhai ! Will help many of us definitely
@tabrezrahi2 жыл бұрын
Please create a Series of DSA
@CodeWithAhsan2 жыл бұрын
Playlist: kzbin.info/aero/PL2sQdFoGnLIgTJ4hP3ab4HoPOe4BT4ose Demo : ahsanayaz.github.io/fun-with-javascript/ If you're looking for visual examples for DS with JS, you can check the following, until Piyush uploads one :)
@sojuthomas77272 жыл бұрын
Thank you so much 😊
@santhoshburgula69522 жыл бұрын
Bro, I have gone through some videos, you are simply rocking and just you inspired me a lot. what should I do to pro in javascript like you ? is there any best book for javascript and as well as practice problems? please refer to any suggestions and root map. by the by, I'm from Non-IT background.
@RoadsideCoder2 жыл бұрын
Hi Santosh, Thanks a lot for appreciation ❤️ Let's connect on instagram @RoadsideCoder. You can ask me your questions there.