PinnedVivek Srivastava500+ Data Structures and Algorithms Practice ProblemsArrayApr 12, 20211Apr 12, 20211
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++…Dec 7, 2023Dec 7, 2023
Vivek SrivastavaInvert Alternate Levels ProblemGiven the root of a perfect binary tree, invert alternate levels of it.Nov 11, 2023Nov 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…Nov 11, 2023Nov 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…Nov 11, 2023Nov 11, 2023
Vivek SrivastavaMirror Of Binary Tree ProblemGiven the root of a binary tree, convert the binary tree into its mirror.Nov 11, 2023Nov 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…Nov 11, 2023Nov 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…Nov 11, 2023Nov 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…Nov 11, 2023Nov 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…Nov 11, 2023Nov 11, 2023