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 🔥
@jaisharma545
2 жыл бұрын
++ Follower;
@aahaan8647
2 жыл бұрын
Please add video about jest unit testing
@akshayshinde2403
2 жыл бұрын
I would like to know for what position you applied? SDE1 or SDE2
@gullukumar4497
2 жыл бұрын
@@aahaan8647 bhai documentation padhna start kr warna tutorial dekhte dekhte zindagi nikal Jani h
@gullukumar4497
2 жыл бұрын
@@akshayshinde2403 ye sare questions SD1 ke h bhai.
@nikhildosapati8719
2 жыл бұрын
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 :)
@sshikhar4290
2 жыл бұрын
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 🙂
@nirmalshah9947
2 жыл бұрын
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; }
@SuperYoman100
2 жыл бұрын
We can use Regex for this as well, right?
@nirmalshah9947
2 жыл бұрын
@@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
11 ай бұрын
after 10 yr developer will forget dsa and basic logic like you. run with str = "z" you'll get true lol
@RAUSHANKUMAR-vu5hy
2 жыл бұрын
Your javascript tut is very helpful for me understand easily the core concept
@ayushsingh8975
2 жыл бұрын
Really need DSA with JS and it will be great to learn from you.
@ssmohanty153
2 жыл бұрын
Thank you so much for this interview Q&A series, helps so much. If possible please make a DSA series using java script
@simionandrei5409
2 жыл бұрын
Nice video Piyush! I think some videos about Generators and Data Structure will be really useful! Keep up the good work!
@atharshakeel7277
Жыл бұрын
Loved the video Piyush. And yes, we require a DSA with JS tutorial playlist.
@subhadeepghosh2813
Жыл бұрын
why its getting removed autometically from cart ?
@jenso413
2 жыл бұрын
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
@RoadsideCoder
2 жыл бұрын
Agreed, Thanks for the advice.
@piyushchopade7878
2 жыл бұрын
@@RoadsideCoder For how much work ex is this expected?
@RoadsideCoder
2 жыл бұрын
@@piyushchopade7878 1 year, Thie however can be asked in any experience
@ιυ_αα-ξ5σ
2 жыл бұрын
Super great video makes excited to learn more and get started! Love the "stay organized" motto !!
@arunbohra4346
2 жыл бұрын
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.
@ganeshkhirwadkar4127
2 жыл бұрын
Bahut hi sahi bhai ! Will help many of us definitely
@ishansharma3433
2 жыл бұрын
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
@nikithamalkapuram8728
2 жыл бұрын
Please Please do DSA with Js series. I rejected lot of interviews with this DSA only.
@abhishekvishwakarma9045
2 жыл бұрын
After watching LRU cache question can you create a video on generators in javascript that'll be helpfull 😀
@RoadsideCoder
2 жыл бұрын
Sure
@akrammohammed3581
2 жыл бұрын
We need DS with js pls do a series on that
@manikdingra5938
2 жыл бұрын
My man's dedication is over the top!
@nasarshaik5207
2 жыл бұрын
yes, please make playlist for these type of DS and Algo
@darshitraj1694
2 жыл бұрын
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.
@darshitraj1694
2 жыл бұрын
*logic
@rotembs
2 жыл бұрын
@@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.
@munawarmunna2232
2 жыл бұрын
Yes please make videos on DSA with javascript..
@lebnew8218
2 жыл бұрын
Why I found this interview so hard !! 🥲🥲🥲
@rakaa31
2 жыл бұрын
please create DSA with js series
@TopTalentBridge
2 жыл бұрын
Definitely want to have a talk with you. I will book a call with on topmate in next 2 weeks for sure.
@ashishmadan5700
2 жыл бұрын
Amazing video very helpful, Please create DSA series in javascript 🔥🔥
@premsolanki7570
2 жыл бұрын
We need a series of DSA Please do it sir !!!
@abhishekvishwakarma9045
2 жыл бұрын
Awesome walkthrough of interview experience😎🔥
@dineshkumargiri1659
2 жыл бұрын
We are waiting bhaiya 🔥🔥🔥
@sayurikamble825
2 жыл бұрын
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
11 ай бұрын
what is string has numbers.
@ravikumar7676
2 жыл бұрын
Yes DSA series .. i m having so much problem in DSA part .
@rajeshprasadh3717
2 жыл бұрын
suuuper helpful video, thanks man!
@naazj8508
2 жыл бұрын
Ur putting this video in this series after long time
@RoadsideCoder
2 жыл бұрын
Yeah
@pranavpatil8351
2 жыл бұрын
Plz Do make a playlist on Data structures n alorithyms with JavaScript
@vikulkumar3376
2 жыл бұрын
It will be great if you are creating a one series of DS with JS.
@RAUSHANKUMAR-vu5hy
2 жыл бұрын
Please make more video fronted developer related
@RoadsideCoder
2 жыл бұрын
For sure. If this one does good I'll make more!
@shivamdhoundiyal6985
Жыл бұрын
Bhai super yaar....mazza aa gya !!
@RoadsideCoder
Жыл бұрын
😎😎
@munawarmunna2232
2 жыл бұрын
Bro make videos on Mostly asked DSA interview questions..
@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.
@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.
@ramkrushnaprabhu8027
2 жыл бұрын
Sir please create tutorial on Ecommerce website creation by using MERN technology
@shashidharvarne1059
2 ай бұрын
Great video! Just one quick question.. was this for SDE 1 or SDE 2 position? Thanks in advance
@RoadsideCoder
2 ай бұрын
sde 1
@indianinvestor1301
2 жыл бұрын
Bro, im preparing fronrend interview need ur guidness ❤
@RoadsideCoder
2 жыл бұрын
Hey, you can book a call with me here - topmate.io/roadsidecoder
@extux9090
Жыл бұрын
Yes please do it DSA+JS
@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.
@mohininarwade1108
Жыл бұрын
Also how do you copy paste so fast? whats the shorcut control? please tell
@harshsinghchauhan869
2 жыл бұрын
Sir you have made my life ❤🌟
@matheusdiniz3743
2 жыл бұрын
Amazing video, really liked it!! Just a question, were those rounds in a call or they gave you those tasks and you had to return them the answer to it?
@RoadsideCoder
2 жыл бұрын
All in a video call with screen sharing
@soumyaranjanpanda7532
2 жыл бұрын
please create a DSA videos. That would be really helpful
@CodeWithAhsan
2 жыл бұрын
You can probably get started with this. Until he uploads a series. Playlist: kzitem.info/door/PL2sQdFoGnLIgTJ4hP3ab4HoPOe4BT4ose Demo : ahsanayaz.github.io/fun-with-javascript/
@ChhikaraBRUH
2 жыл бұрын
please create a DSA in JS series
@s1k_guy
2 жыл бұрын
Bro. Make vedios on javascript data structure please
@adityanimgade2200
2 жыл бұрын
you can do what you want!
@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; }
@romiljain7595
2 жыл бұрын
waiting for series DSA + JS questions and what can be the level of questions interviewer can ask
@damon4907
2 жыл бұрын
Yes we want dsa with js
@htrOfLiesfub
2 жыл бұрын
You are the man
@sojuthomas7727
2 жыл бұрын
Thank you so much 😊
@esmamanyt7048
11 ай бұрын
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 ???
@RoadsideCoder
11 ай бұрын
In frontend most interviewers won't allow any other language than JS
@user-zp1dv4yh5e
2 жыл бұрын
Yess , we need DSAwith JS
@ANONYMOUS-wx5kc
2 жыл бұрын
Pls make a video on dsa with js
@anilraj9877
2 жыл бұрын
yes please make dsa seriese
@codewithdumbbells
2 жыл бұрын
Bro create a separate DSA series in Js ❤
@coder-webdev5907
2 жыл бұрын
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]
@rohitdesai3615
2 жыл бұрын
Bhai mai mechanical se huun. Aur abhi start kiya huun web development What you think Please give any tips
@kishoreramesh8110
2 жыл бұрын
Tazorpay? Or razorpay
@successmotivationpoint4925
2 жыл бұрын
Was this interview for fresher or experience bcz level of question i think is not for freshers ?
@reethikavanaparthy6984
2 жыл бұрын
please can u suggest a good resume builder
@yodahunter1412
2 жыл бұрын
Why the product was removed when ghe quantity becomes zero, I'm not able to figure it out You didn't used any check to remove the item from cart if product qty is less than 1
@hemangparekh1167
2 жыл бұрын
He did, items in cart only render if cart.length is greater than zero
@saswatidas8750
2 жыл бұрын
i have the same question...why is the product getting removed from cart when qty is zero, it should simply update the qty from 1 to zero right?
@yodahunter1412
2 жыл бұрын
@@saswatidas8750 yes exactly that's what I thought, when quantity is 0 it should show 0 in the cart component, but instead it is removed from the Array
@Frameddelight
Жыл бұрын
@@yodahunter1412 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.
@santhoshburgula6952
2 жыл бұрын
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.
@RoadsideCoder
2 жыл бұрын
Hi Santosh, Thanks a lot for appreciation ❤️ Let's connect on instagram @RoadsideCoder. You can ask me your questions there.
@santhoshburgula6952
2 жыл бұрын
@@RoadsideCoder Sorry, I don't have Instagram.
@sterlingarcher3943
2 жыл бұрын
In Round 2, The array was declared as constant. Yet in the for loop, we are modifying the elements of the array Isn't it a violation?
@sunnyarora3557
2 жыл бұрын
const keyword needed to be assigned something when they are declared and we can modify them whenever we want. Dont go with the name const it doesnt mean we need to keep it const.
@nitinshetty8187
2 жыл бұрын
No we cannot modify any const variables, but in case of arrays or Objects we are storing the reference of that data structure. We cannot change const variables if its a number, string etc it will throw an error.
@tabrezrahi
2 жыл бұрын
Please create a Series of DSA
@CodeWithAhsan
2 жыл бұрын
Playlist: kzitem.info/door/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 :)
@madetolaugh3476
2 жыл бұрын
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
@shridharshikalgar9641
2 жыл бұрын
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
@praveengopakumar5059
2 жыл бұрын
great content
@RichaKejriwal
8 ай бұрын
This was for which position? SDE2 or SSE?
@RoadsideCoder
8 ай бұрын
SDE1
@banglanews1368
2 жыл бұрын
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..
@ujjwaljain9780
2 жыл бұрын
Please create dsa with js
@ansumanmishra17
2 жыл бұрын
plz make dsa video
@shacodes
2 жыл бұрын
Switch kr va ke hi manoge sir
@rakaa31
2 жыл бұрын
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??
@haniahani5351
8 ай бұрын
Yes you can
@rajeshbagguva3005
2 жыл бұрын
We need DSA with JS.......
@narendra3385
2 жыл бұрын
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
@RoadsideCoder
2 жыл бұрын
It was for a junior role
@narendra3385
2 жыл бұрын
@@RoadsideCoder Thankyou
@rahulmore6810
2 жыл бұрын
DSA with JavaScript 🙌
@husler7424
2 жыл бұрын
Did you get selected or not? (for me I guess you should be selected)
@MrK-nb7xr
2 жыл бұрын
Kitna offer kiya .. 40LPA ..?
@rachit55555
2 жыл бұрын
RazorPay FEIII is 55LPA.
@DK-ox7ze
2 жыл бұрын
For what level did you interview at this company?
@RoadsideCoder
2 жыл бұрын
Junior
@DK-ox7ze
2 жыл бұрын
@@RoadsideCoder Any idea what all rounds they have for Lead front-end engineer role?
@vishalzinjade6094
2 жыл бұрын
Hello Piyush, Nice Video as Always !! Could you please review below code for 'Anagram' problem: const str = 'The quick brown fox jumps over the lazy dog'.toUpperCase() const isAnagram = (str) => { const strArr = [...str].filter((letter) => { const flag = isLetter(letter) if (flag) { return letter } }) return strArr function isLetter(str) { return str.length === 1 && str.match(/[a-z]/i) } } const strSet = new Set([...isAnagram(str)]) if (strSet.size == 26) { console.log(true) } else { console.log(false) }
@rishiraj2548
2 жыл бұрын
Naamste!
@randomsVlogs871
2 жыл бұрын
Love you from Pakistan 🇵🇰❤️
@deepshah1358
2 жыл бұрын
DSA with JS wanted
@pramodjadhav7812
2 жыл бұрын
ds with javascript
@tejasshekar
2 жыл бұрын
Tazorpay after watching this - "Hmmm, where is our NDA ? We might wanna revise it coz this is a very indepth video😂"
@RoadsideCoder
2 жыл бұрын
Hahah
@tejasshekar
2 жыл бұрын
@@RoadsideCoder Hey Piyush, in that cart question, how is it that the item gets removed when the quantity goes below 1 ? I looked into the logic and did not find anything that removes the item from cart. What am I missing here ?🤔
@keshavarora1411
2 жыл бұрын
@@tejasshekar I'm also confused how he is removing items from the cart
@tejasshekar
2 жыл бұрын
@@keshavarora1411 So, I looked into the code and found out that in the reducer switch case where he is changing the quantity, he's not only changing quantity of the item, he's also returning that number to filter method which decides where to remove the product or not. So, when the quantity=0 is returned to the filter function, 0 is a falsey value and hence filter method will remove it from the cart array. I had never thought of it this way 🙃. It's so simple and reduces so much code.
@frontendzonedotcom
2 жыл бұрын
im gna
@AnkitYadav-ot3iu
2 жыл бұрын
Create dsa course
@alexrcrew1975
2 жыл бұрын
tazorpay
@vishalmane3139
Жыл бұрын
hVe u failed any interview 😂
@Sky-yy
2 жыл бұрын
Wow new company 😂
@RoadsideCoder
2 жыл бұрын
No, just an interview. I didn't join.
@noaakshay
7 ай бұрын
27:24 in one line 'abcdefghijklmnopqrstuvwxyz'.split('').every(x=>str.indexOf(x) !== -1)
@RoshanBakhla
2 жыл бұрын
Bhaiya make more video related to frontend interview questions……👍
@RoadsideCoder
2 жыл бұрын
Definitely
@arunbohra4346
2 жыл бұрын
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
@atmanirbharladka4467
2 жыл бұрын
Tazorpay ? It's so difficult to figure out which company it was. Unable to think of any other fintech with similar name. So subtle.
Пікірлер: 206