Find all triplets with sum zero in an array x Problem Statement Given an array of unsorted numbers, find all unique triplets in it that add up to zero. Example...
Remove duplicates from sorted array in place x Problem Statement Given an array of sorted numbers, remove all duplicates from it. You should not use any extra space; after removing the...
Squaring a sorted array x Problem Statement Given a sorted array, create a new array containing squares of all the number of the input array in the...
Finding diameter of a binary tree x Problem statement:- Given a binary tree, you need to compute the length of the diameter of the tree. The diameter of...
Check if two given strings are ispmorphic x Problem statement:- Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to...