Тёмный

Linked List - Data Structures and Algorithms in Javascript | Frontend DSA Interview Questions 

RoadsideCoder
Подписаться 120 тыс.
Просмотров 21 тыс.
50% 1

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

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@RoadsideCoder
@RoadsideCoder 11 месяцев назад
➡ Download my DSA with JS E-Book - topmate.io/roadsidecoder/491565 👤 Join the RoadsideCoder Community Discord - discord.gg/2ecgDwx5EE 🟪 Follow me on Instagram and u will clear your interview 🤓 - instagram.com/roadsidecoder/
@avinashkumar8306
@avinashkumar8306 11 месяцев назад
Please explain this with a real world example as well, like if we are developing a website with React.JS, where this linked list will be useful, how can we use this in Frontend development. This way, this will be more useful and will be more understandable. Thank you.
@RoadsideCoder
@RoadsideCoder 11 месяцев назад
Yes, I will explain that in my next video🔥
@mohammadabbas1623
@mohammadabbas1623 11 месяцев назад
I'm relying on ur channel for Frontend Interviews ❤
@prashantnath4967
@prashantnath4967 11 месяцев назад
Hey piyush it would be great if you could create an oop in js which would contain classes concept and all ❤
@caresbruh
@caresbruh 11 месяцев назад
there are already enough source material avaiable for oops on the Internet
@UmeshChandraVankadhara
@UmeshChandraVankadhara 5 месяцев назад
Hi Piyush, please make a video on doubly and circular linked list also .
@vridhiwadhawan6523
@vridhiwadhawan6523 3 месяца назад
please make a video on class and constructor @RoadsideCoder
@RavindraSingh-lp9pl
@RavindraSingh-lp9pl 11 месяцев назад
@Roadside coder-- I was recently asked below interview question- Display the bellow 2 cart items separately in the list on a screen e.g cartA = ["apples", "bananas", "grapes", "oranges", "pears", "pineapple"] cartB = ["potatoes", "beans", "carrots", "spinnach", "kale", "broccoli"] Add a button on the screen, on click of the button swap only the odd item from cart A, with odd items in cart B. Can you please give me solution for above problem please?
@ankittyagi6706
@ankittyagi6706 11 месяцев назад
const cartA = ["apples", "bananas", "grapes", "oranges", "pears", "pineapple"] const cartB = ["potatoes", "beans", "carrots", "spinnach", "kale", "broccoli"] function swap(){ for(let i=0; i
@ankittyagi6706
@ankittyagi6706 11 месяцев назад
or just don't return anything, it will uodate the orignal array
@ankittyagi6706
@ankittyagi6706 11 месяцев назад
import React, {useState} from 'react' import ReactDOM from 'react-dom' function App() { const [cartA, setCartA] = useState([ 'apples', 'bananas', 'grapes', 'oranges', 'pears', 'pineapple', ]) const [cartB, setCartB] = useState([ 'potatoes', 'beans', 'carrots', 'spinnach', 'kale', 'broccoli', ]) function swap(cartA, cartB) { const tempA = [...cartA] const tempB = [...cartB] for (let i = 0; i < cartA.length; i++) { if (i % 2 !== 0) { ;[tempA[i], tempB[i]] = [tempB[i], tempA[i]] } } setCartA(tempA) setCartB(tempB) } return ( {cartA?.map((val, index) => ( {val} ))} {cartB?.map((val, index) => ( {val} ))} swap(cartA, cartB)}>Swap ) } ReactDOM.render(, document.getElementById('root'))
@ankittyagi6706
@ankittyagi6706 11 месяцев назад
run it inside codesandbox
@RavindraSingh-lp9pl
@RavindraSingh-lp9pl 11 месяцев назад
@@ankittyagi6706 thanks bro
@venkateshak.s9290
@venkateshak.s9290 6 месяцев назад
Its really a good video to understand singly linked list. Pls also make video on double and circular linked list.
@RoadsideCoder
@RoadsideCoder 6 месяцев назад
already made
@ashutoshanndate3222
@ashutoshanndate3222 11 месяцев назад
Javascript king bro❤
@ritvijverma2420
@ritvijverma2420 2 месяца назад
Plz upload next Videos & plz complete this series...
@motivationalmusic3721
@motivationalmusic3721 7 месяцев назад
Circular linked list 👍👍 please made a video
@mohammedfaseeullah6095
@mohammedfaseeullah6095 11 месяцев назад
❤❤🎉 most awaited....
@anshunarayan8056
@anshunarayan8056 11 месяцев назад
Bhai non-linear data-structure wale pr bhi video bnana aap jaldi
@RoadsideCoder
@RoadsideCoder 11 месяцев назад
Yes, on the way
@shivendradwivedi8887
@shivendradwivedi8887 16 дней назад
While deleting from random index we can't include size because if size is 5 then max index is 4, so if the given index to delete is 5 , then it will give error.
@caresbruh
@caresbruh 11 месяцев назад
great video, but why did you release another DSA sheet when there are already hundreds of sheets available on the internet?
@RoadsideCoder
@RoadsideCoder 11 месяцев назад
because this one is specific to Frontend interviews
@Maxthompson630
@Maxthompson630 11 месяцев назад
@@RoadsideCoder i bought your sheet brother but it is not openinng
@ujjwalnagar9582
@ujjwalnagar9582 11 месяцев назад
@@Maxthompson630 I had the same issue. Just add the .pdf extension to the name of the file.
@mayurghuge8846
@mayurghuge8846 2 месяца назад
Thank you.
@aadhi9857
@aadhi9857 5 месяцев назад
Hi sir
@javascript-sl4wv
@javascript-sl4wv 8 месяцев назад
sir, the removeat (index) function is not working
@aadhi9857
@aadhi9857 5 месяцев назад
Hi sir , First of all thankyou for the great video its help more to fullfill my doubts . In the addAt function have MISTAKE when we adding a new value into the first position of linkedlist we cant add becouse you have already written a condition for that if index===0 its a invalid text . Sir please chack this and update me becouse i have lerning this into only looking you video . I will wait for your replay to complete my study
@motivationalmusic3721
@motivationalmusic3721 7 месяцев назад
This DSA sheet is only for javascript DSA or for any interview exam ? Please reply
@mohammedfaseeullah6095
@mohammedfaseeullah6095 11 месяцев назад
Bro ,,.. make a video on class and constructors... Doubly and circular linked list too..
@chinmayjain9705
@chinmayjain9705 8 месяцев назад
first seen here then c++ linklist then again this video 😅 finally i got it 😂😂
@ARAVIN007
@ARAVIN007 11 месяцев назад
Bro pls upload a separate video for prototype, inheritance, class
@shortflicks83
@shortflicks83 11 месяцев назад
Love you man please upload videos fastly as much as possible
@harshalpatil2568
@harshalpatil2568 10 месяцев назад
Perfect ❤
@mohammedfaseeullah6095
@mohammedfaseeullah6095 11 месяцев назад
Bro ,, is your dsa book suitable for mern stack interview....
@RoadsideCoder
@RoadsideCoder 11 месяцев назад
If that company has a DSA round, then yes
@chandruloganathan3725
@chandruloganathan3725 11 месяцев назад
Bro before solving "Linked List" please tell how come there is comments in the videos which is 2 and 3 days old but for me showing video is realised just 2hrs before🤔🤔🤔
@RoadsideCoder
@RoadsideCoder 11 месяцев назад
I scheduled the video to be uploaded today - 2 days ago, so u can put the reminder in advance
@chandruloganathan3725
@chandruloganathan3725 11 месяцев назад
@@RoadsideCoder Thanks bro doubt cleared
Далее
Я ИДЕАЛЬНО ПОЮ
00:31
Просмотров 584 тыс.
Watermelon magic box! #shorts by Leisi Crazy
00:20
STOP Using Classes In JavaScript | Prime Reacts
14:02
Просмотров 240 тыс.
Linked Lists for Technical Interviews - Full Course
1:27:24