Q1.Sort an array of 0's, 1's and 2's You have been given an integer array/list(ARR) of size 'N'. It only contains 0s, 1s and 2s. Write a soluti... read more
Q2.Detect loop in linked list You have given a Singly Linked List of integers, determine if it forms a cycle or not. A cycle occurs when a node... read more
Q3.Remove all occurrences of a character in a string For a given a string(str) and a character X, write a function to remove all the occurrence... read more