To Yoda or Not To YodaYoda programming style is a coding convention in which the verb (i.e., the operator) in a conditional statement is placed before the subject. This style gets its name from the Star Wars character Yoda, who speaks with a distinctive reverse syntax (e....Dec 22, 2022 · 2 min readnerdyprateek.hashnode.dev
The Heap Data Structure: Implementation and Uses in JAVAA heap is a special type of tree-based data structure in which the tree is a complete binary tree. This means that it is a binary tree in which every level of the tree is completely filled, except possibly the last level, which is filled from left to...Dec 12, 2022 · 2 min readnerdyprateek.hashnode.dev
Transform Your Java Code with the Magic of the Garbage Collector!In Java, the garbage collector is a built-in feature that automatically manages the allocation and deallocation of memory. It is responsible for freeing up memory that is no longer being used by the program, making it available for other objects. The...Dec 10, 2022 · 2 min readnerdyprateek.hashnode.dev
Comparing LinkedList and ArrayListLinked lists and array lists are two common data structures used in computer programming. Both have their own advantages and disadvantages, and the choice of which one to use depends on the specific needs of the situation. In general, however, linked...Dec 9, 2022 · 3 min readnerdyprateek.hashnode.dev