© 2023 Hashnode
#data-structures
A stack is a linear data structure that follows the Last In First Out (LIFO) or the First In Last Out (FILO) principle. This means that the last element added to the stack will be the first one to be …
Binary search is a classic optimization algorithm that is widely used in computer science. If you have been working in computer science or software engineering, you have probably heard of binary searc…
Introduction When analyzing algorithms, the time complexity is a commonly used metric to compare and evaluate the efficiency of different approaches. Time complexity describes the amount of time an al…
Graphs are an essential data structure in computer science that can be used to model real-world problems. They consist of a set of vertices (or nodes) and edges that connect these vertices. Graphs can…
There is no shortcut to making yourself a master in DSA. There are many platforms which you visit platform follow some easy steps to create an account on that platform and start skilling us. After vis…
The Dilemma Have you contemplated learning Data Structures and Algorithms (DSAs) in the past? Did you half-heartedly try to learn it but thought it wasn’t possible? Maybe you convinced yourself that y…
Dynamic programming is a powerful optimization technique that can be applied to a wide range of problems, including optimization, search, and decision-making problems. It is a method of solving proble…
Trees are a fundamental data structure in computer science, and their traversal is a common operation in many algorithms. There are several ways to traverse a tree, each with its own advantages and di…
The current indexing implementation in my tyrdbs project is based on a hybrid of prefix and b-trees. It's messy, has significant space overhead and lacks some features I'd like to see so I went looking for a suitable replacement. Last time …
Welcome to our blog on "Solving Common Array Questions in MNC Interviews: Part 1"! This blog series is dedicated to providing a comprehensive understanding of the array data structure and the various …