If you are stepping into data science, data analysis, or simply want to handle data more efficiently in Python, one…
Author: codeanddebug
Most DSA interviews test the same set of patterns again and again. Whether it is TCS, Infosys, Amazon, Google, or…
The Symmetric Tree problem asks us to check whether a given binary tree is a mirror image of itself around…
The Binary Tree Right Side View problem asks us to return the list of nodes that are visible when the…
The Bottom View of Binary Tree problem asks us to return the set of nodes visible when looking at the…
The Top View of Binary Tree problem asks us to return the set of nodes visible when looking at the…
The Vertical Order Traversal of a Binary Tree problem asks us to traverse a binary tree in a special way:…
The Count Distinct Substrings problem asks us to calculate the number of unique substrings of a given string. Examples Example…
The Complete String problem asks us to find the longest string from a given list such that all its prefixes…
The Implement Trie II problem is an extension of the basic Implement Trie (Prefix Tree). In addition to inserting words…