How to delete max element in a Max Heap in Java ? | Animation

  Рет қаралды 8,118

Dinesh Varyani

Dinesh Varyani

2 жыл бұрын

►Full DSA Course - • Data Structures and Al...
►Follow me on Instagram - bit.ly/intrvwkckstrt
►Follow me on LinkedIn - bit.ly/fllwlkdn
►Enroll in the complete course: bit.ly/3W4qthg
►Source Code - github.com/dinesh-varyani/ds-...
►Download DSA Animation Slides - techready.in/courses/150-dsa-...
►Click here to subscribe - kzfaq.info...
Watch all my playlist here:
►Data Structures and Algorithms Course playlist: • Data Structures and Al...
►Mastering JUnit 5 - kzfaq.info?list...
►Mastering Mockito 3 - • Mockito 3 Tutorials
►Analysis of Algorithms - • Analysis of Algorithms
►Linked List Data Structures - • Linked List Data Struc...
►Array Data Structures - • Playlist
►Stack Data Structure - • Stack Data Structure
►Queue Data Structure - • Queue Data Structure
►Binary Tree Data Structure - • Binary Tree Data Struc...
►Graph Data Structure - • Graph Data Structure
►Binary Heap Data Structure - • Binary Heap Data Struc...
►Trie Data Structure - • Trie Data Structure
►Dynamic Programming Algorithms - • Dynamic Programming Al...
►Hashing Data Structures - • Hashing Data Structures
►Sorting and Searching - • Sorting and Searching
►String Algorithms - • String Algorithms
Want to land a software engineering job in the IT industry? This course - 'Visualizing Data Structures and Algorithms' is here to help. The course walks you through multiple Java algorithms, data structures problems, and their solutions with step by step visualizations, so that you are actually learning instead of blindly memorizing solutions.
The course covers in and outs of Data Structures and Algorithms in Java. Java is used as the programming language in the course. Students familiar with Javascript, Python, C#, C++, C, etc will also get to learn concepts without any difficulty. The implementation of various Algorithms and Data Structures have been demonstrated and implemented through animated slides. It covers many interview room questions on Algorithms and Data Structures. The questions and solutions are demonstrated by -
1. Animated slide. (To make visualization of algorithms faster)
2. Coding algorithm on IDE.
The course covers topics such as -
0. Algorithm Analysis
1. Arrays
2. Matrix
3. Singly Linked List
4. Doubly Linked List
5. Circular Singly Linked List
6. Stacks
7. Queues
8. Binary Tree
9. Binary Search Tree
10. Graphs
11. Priority Queues and Heaps
12. Recursion
13. Searching
14. Sorting
15. Strings
16. Trie Data Structure
17. Dynamic Programming
and many more ...
#dsa #algorithms #coding

Пікірлер: 24
@shubhamagarwal1941
@shubhamagarwal1941 2 жыл бұрын
Best series for DS & Algo. I am also 10 yrs java exp guy. Was looking for DS & Algo free course over KZfaq with java implementation and found this. Hats Off To You Man...Excellent Work. GOD BLESS YOU :)
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Thanks !!!
@kartheek6495
@kartheek6495 2 жыл бұрын
Thank you sir for your frequent videos as said earlier
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
welcome !!!
@developerbasudeb
@developerbasudeb 2 жыл бұрын
Sir you are really great❤❤❤......in this KZfaq platform this is best data structure course in java. I really love you sir
@developerbasudeb
@developerbasudeb 2 жыл бұрын
Sir do you have java full course? ☺
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Thanks !!!
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
@@developerbasudeb its there but very old version ... I wont recommend !!! Search youtube for latest ...
@kidoo1567
@kidoo1567 2 ай бұрын
Nice series❤
@itsdineshvaryani
@itsdineshvaryani 2 ай бұрын
Thanks !!!
@AhsanAli-vz6mg
@AhsanAli-vz6mg 2 жыл бұрын
Superb
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
thanks !!!
@adulladahalrifat8173
@adulladahalrifat8173 2 жыл бұрын
Best teacher ♥️
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Thanks !!!
@syeda9134
@syeda9134 2 ай бұрын
please upload the implementation of this.
@athul03
@athul03 Жыл бұрын
Code is not available in the repository, is it removed?
@gokul4476
@gokul4476 2 жыл бұрын
Sir please make video on min heap
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
its exactly same as max .... just reverse the conditions ...
@gokul4476
@gokul4476 2 жыл бұрын
@@itsdineshvaryani ❤️❤️❤️thank you sir
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
@@gokul4476 welcome !!!
@Vishv_Deshwal
@Vishv_Deshwal Жыл бұрын
Brother, a very big confusion occurred, I was following your delMax code. Dry Run was perfectly doing its desired function. When I code this on pc, an error occurred. heap = { 10,9,8,7,6,5,4} after deletingMax() heap should be = {9,7,8,4,6,5,null} but answer is heap = {5,9,8,7,6,4, null} I searched over entire internet, I cannot find the solution, When I am doing dry run everything goes well and not on actual code pls help in making a small video around the actual code typing or anything else
@ascar66
@ascar66 10 ай бұрын
might be some error in your code I've copied the code from the video and it works well with your heap
@prithijitroychoudhury313
@prithijitroychoudhury313 2 жыл бұрын
Sir we have 7 elements, so capacity is 7 and heap size is 7+1=8. So 0 is null and 1 to 7 has the 7 elements then why are we considering index 8?
@Bharadwaj_Parvatham_
@Bharadwaj_Parvatham_ 2 жыл бұрын
index 0 is not null its empty so we start from 1 to 7 and at last we consider 8 as null which is 7th left child node (we will consider)
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,3 МЛН
Это реально работает?!
00:33
БРУНО
Рет қаралды 3,6 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 131 МЛН
UNO!
0:18
БРУНО
Рет қаралды 3,4 МЛН
My cat gave me a very strange plate #cat #cats
0:32
Prince Tom
Рет қаралды 89 МЛН
Lehanga 🤣 #comedy #funny
0:31
Micky Makeover
Рет қаралды 15 МЛН