#dsa
Read more stories on Hashnode
Articles with this tag
Stack overflow is a common problem that occurs in recursion, where a function calls itself repeatedly without ever reaching a stopping point. This can...
Recursion is a programming technique in which a function calls itself in order to solve a problem. It is a powerful tool that allows for elegant and...
A linked list is a linear data structure that consists of a group of nodes, where each node stores a reference to an element and a reference to the...
A tree is a widely used abstract data type that consists of nodes arranged in a hierarchical structure. It is a non-linear data structure, which means...
In Python, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the value) of...
Space-time trade-off is a concept that refers to the relationship between the amount of space (memory) used by an algorithm and the amount of time it...