Tuesday, February 2, 2021
Thursday, January 28, 2021
SpringBoot StringKafkaTemplate Conductor Kafka Topic Producer Consumer
Wanna produce and consume from Kafka topics with SpringBoot ?
Wanna watch your Kafka Topics via Conductor ?
Wanna send some rest request to produce data to send your Kafka topic ?
Don't wanna write code ?
Just checkout and sit back :)
Your custom java annotation and check for it on the classes with reflection
Just another copy paste run bye article !
Sunday, November 29, 2020
Wednesday, November 18, 2020
AVL TREE LEFT RIGHT DOUBLE ROTATIONS, DEPTH FIRST SEARCHs, BREADTH FIRST SEARCH, RECURSIVE and ITERATIVE TRAVERSALS, HEIGHT, DEPTH, SIZE, LEAF, NODE FINDERS, ROOT to LEAF NODE PATHS
There are 4 cases that we might have to fix (two are the mirror images of the other two):
- An insertion in the left subtree of the left child of X,
- An insertion in the right subtree of the left child of X,
- An insertion in the left subtree of the right child of X, or
- An insertion in the right subtree of the right child of X.
Balance is restored by tree rotations.
Case 1 and case 4 are symmetric and requires the same operation for balance.
Cases 1,4 are handled by single rotation.
Case 2 and case 3 are symmetric and requires the same operation for balance.
Cases 2,3 are handled by double rotation
Subscribe to:
Posts (Atom)