Postorder Traversal someone August 07, 2020 Postorder traversal is accessing left then right then root #include <bits/stdc++.h> using namespace std; class Node { ...Read More
Levelorder Traversal someone August 07, 2020 In this with the help of queue we print element from left to right. We move from one level to the next & store left node element unt...Read More
Tree someone August 07, 2020 Other Resources : Data Structures Questions : Introduction Inorder Traversal Preorder Traversal Postorder Traversal Levelorder Traver...Read More
Tree Introduction someone August 07, 2020 Declaration of tree can be divided in three parts : Create class with data, left & right pointer Node function which initialize data,...Read More
Most Unstable Array someone August 07, 2020 This is solution of Codeforces question Most Unstable Array This question states that we are given n & m where n = Number of elemen...Read More
Board Moves someone August 07, 2020 This is solution of Codeforces problem Board Moves The question says that we will be given 'n' which will be odd & the qu...Read More
Sum of N Even number using Recursion someone August 04, 2020 Given number N, task is to find the sum 2 + 4 + 6 + ... + n. Using Recursion. Note : This Problem is part of Recursion series . Make s...Read More
Data Structures someone August 04, 2020 This page contains detailed tutorials on different data structures (DS) with topic-wise problems. Topics : Array What is Array? ...Read More
Recursion someone August 04, 2020 Other Resources : Data Structures Questions : Sum of N Natural number Sum of N Even number Factorial Recursion Digit Sum ...Read More
Sum of N Natural number someone August 04, 2020 Given number N, task is to find the sum 1 + 2 + 3 + ... + n. Using Recursion. Example : Input : 5 Output : 15 Approach : Ti...Read More