➡ 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/
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.
@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?
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.
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
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🤔🤔🤔