© 2023 Hashnode
#dsa
Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Problem explanations: The questions ask us to find the longest common prefix, prefix is a word t…
Binary trees are a fundamental data structure in computer science, often used for searching and sorting algorithms. They are a tree-like data structure where each node can have at most two children, r…
As all of you know that for cracking the interview round DSA is required. And the most important part is to practice because practice is the key to cracking the interview but some tips help you to memorize some important patterns and help y…
To all the fascinating folks welcome to my article only if you're to learn Java with building projects as well. First thing I need to clarify you people is please don't fall in tutorial hell..people o…
Data Structures and Algorithms is one of those things that you know you need to learn but never plan for it. Or just start and give up along the way because, let's be honest, DSA is tough. However, DS…
Breadth-first search (BFS) and Depth-first search (DFS) are two popular algorithms used for traversing and searching in a graph. Both algorithms can be implemented using a generic class in Dart with n…
How to identify whether I can apply recursion or not? If you find these in a coding problem then you can think of recursion- See if the solution depends on the solutions of smaller versions of the same problem or not. For example, if you w…
Introduction Java is a versatile and powerful programming language that is widely used in a range of industries today. From Android app development to backend development, Java is the language of choi…
I recently wrote an article about how to improve the quality of your DSA preparation. You can check that article out here. But that takes some time and effort from you every day to keep your notion up…
What is Sorting? Sorting refers to arranging data in a selected layout i.e Sorting can be done in ascending and descending order. It arranges the data in a sequence which makes searching easier. For e…