1. Find subarray with given sum
  2. Print a given matrix in spiral form
  3. Find the smallest window in a string containing all characters of another string
  4. Square root of an integer
  5. Kth smallest element in a row-wise and column-wise sorted 2D array
  6. Minimum number of swaps required for arranging pairs adjacent to each other
  7. Find the Missing Number
  8. Find the smallest and second smallest elements in an array
  9. Count Possible Decodings of a given Digit Sequence
  10. Find the number of islands
    Related reference :- Number of clusters of 1s
  11. Detect Cycle in a directed graph
  12. Flattening a Linked List
  13. Detect and Remove Loop in a Linked List
  14. A program to check if a binary tree is BST or not
  15. Count ways to reach the n’th stair
    Related reference :- Stairs Climbing Puzzle
  16. Count distinct occurrences as a subsequence
  17. Word Break
  18. Length of the longest valid substring
  19. Longest Repeating Subsequence
  20. Largest rectangular sub-matrix whose sum is 0
  21. Sub Matrices with sum Zero
  22. Shortest Common Supersequence
  23. Remove duplicates from sorted array
  24. Program for array rotation
  25. Check whether two strings are anagram of each other