PinnedVivek Srivastava500+ Data Structures and Algorithms Practice ProblemsArray28 min read·Apr 12, 2021--1--1
Vivek SrivastavaOnline Compiler — C, C++, Java, PythonTechie Delight provides a quick and easy way to compile and execute code online in several popular programming languages such as C, C++…1 min read·Dec 7, 2023----
Vivek SrivastavaInvert Alternate Levels ProblemGiven the root of a perfect binary tree, invert alternate levels of it.1 min read·Nov 11, 2023----
Vivek SrivastavaAlternate Levels Sum Difference ProblemGiven the root of a binary tree, return the difference between the sum of all nodes present at odd levels and the sum of all nodes present…1 min read·Nov 11, 2023----
Vivek SrivastavaNode Descendant Difference ProblemGiven the root of a binary tree, return the maximum difference between a node and its descendants in the binary tree. You may assume that…1 min read·Nov 11, 2023----
Vivek SrivastavaMirror Of Binary Tree ProblemGiven the root of a binary tree, convert the binary tree into its mirror.1 min read·Nov 11, 2023----
Vivek SrivastavaMinimum Depth Binary Tree ProblemGiven the root of a binary tree, return the minimum depth of the binary tree. The minimum depth is the total number of nodes along the…1 min read·Nov 11, 2023----
Vivek SrivastavaDiagonal Traversal Binary Tree ProblemGiven the root of a binary tree, return the diagonal traversal of its nodes’ values. The solution should process all nodes for each…1 min read·Nov 11, 2023----
Vivek SrivastavaDiagonal Sum Binary Tree ProblemGiven the root of a binary tree, return the sum of all nodes for each diagonal having negative slope `\`. Assume that the left and right…1 min read·Nov 11, 2023----
Vivek SrivastavaDistance Between Two Nodes ProblemGiven the root of a binary tree and two tree nodes, x and y, return the distance between x and y in the binary tree. The distance between…1 min read·Nov 11, 2023----