Sieve of Eratosthenes AlgorithmWhen it comes to efficiently finding all prime numbers less than a given limit 饾憗, the Sieve of Eratosthenes stands out as one of the most elegant and efficient algorithms. Developed by the ancient Greek mathematician Eratosthenes, this algorithm sys...2MSMar 7, 2025 路 2 min readmehzabin.hashnode.dev
Binary Tree Vs Binary Search TreeWe know that a tree is a non-linear data structure that represents hierarchical data and contains no cycles. Now, let's delve into a commonly asked question during interviews: When do we call a tree a binary tree, and how does it differ from a binary...Aug 13, 2023 路 3 min readmehzabin.hashnode.dev
3 Uses of FINAL in JAVAIn Java, the final keyword is used to indicate that a variable, method, or class cannot be modified or extended. The following are different contexts where final is used: 1) Final Variable: To Create Constant The keyword final can be used to create t...1KJul 18, 2023 路 2 min readmehzabin.hashnode.dev
MySQL TRIM() function variationsWe are all acquainted with the TRIM() function, which effectively eliminates leading and trailing spaces from a provided string. However, were you aware that there are additional variations available? 1) The default TRIM(str)For the default variation...Jul 8, 2023 路 2 min readmehzabin.hashnode.dev
Test Your Java Knowledge: Q/A on Popular Java Interview ConceptsI was reviewing OOP concepts from javaTpoint and came across a "Do You Know?" section. This is me documenting my answers to those questions. Website: https://www.javatpoint.com/java-oops-concepts Can we overload the main method? Yes, we can overload...1SJul 2, 2023 路 6 min readmehzabin.hashnode.dev