Комментарии:
What will happen if we add at certain position like 5 when list is empty
ОтветитьI see many people learning DSA with C/C++, but I decided to learn it in JAVA for full stack development related opportunities. But the resources are very few for DSA in JAVA😶 Luckily I found this🤞. Thank you so much sir for giving some hope for many people like me...! Lastly, Thanks for spreading this Knowledge instead of selling it🤩👏👏👏. I will definitely share this with many👍
- Samanvitha : )
You made dsa easy to understand
Ответитьsir notes or ppt dona interiview keliye read karna hai apke easy hai notes plz
ОтветитьYou are amazing sir ❤️
ОтветитьVery well explained! Thank you so much for making DSA this much easy!!
ОтветитьNice explanation sir
Ответить@Dinesh Varyani why cant u discuss the time and space complexity for each operations insert,delete etc...
ОтветитьYou can make the following changes in your code if you want to check if a given position is valid or not
private void insertAtPosition(int value, int position, SinglyLinkedList singlyLinkedList){
ListNode node = new ListNode(value);
if (position == 0 || position > singlyLinkedList.length()+1){
System.out.println("Error, Invalid Position");
return;
}
}
Sir Thank you very much for this but why there is so less likes ?
ОтветитьI just started learning DSA and I am curious on why your count starts from one and not zero. Any particular reason why?
ОтветитьThanks a lot Dinesh Varyani. This has helped me a lot.
ОтветитьWhat if the given position is invalid? Should we write an if statement at the beginning of insert ()?
ОтветитьAmazing DSA playlist
ОтветитьSir i need your mail ya number sir plz give me.
ОтветитьVery nice sir
ОтветитьNever knew light IDE themes could be so catchy :D
Ответитьi am watching all your videos. very nicely explained👌
ОтветитьThanks sir
Ответить