Data Structures & Algorithms

Arrays, Tree, Linked List, Heap, Dynamic Programming, Recursion, Backtracking etc.
Search term should be '3' to '100' character long.
Write a program to reverse a string

Find maximum and minimum element of an array

Segregate 0s and 1s in an array (Sort an array of 0s and 1s)

Segregate 0s, 1s and 2s in an array (Sort an array of 0s, 1s and 2s)

Program to right rotate an array by 'k' elements

Move all negative numbers to beginning of the array

Print the left view of a binary tree

In-order Tree Traversal - Iterative and Recursive

Pre-order Tree Traversal - Iterative and Recursive

Write a program to print height/depth of a Binary Tree