- Given a binary string, count number of substrings that start and end with 1
- Given a string, find its first non-repeating character
- Generate n-bit Gray Codes
- Function to check if a singly linked list is palindrome
- Floor in a Sorted Array
- Find the transition point in a binary array
- Find the two numbers with odd occurrences in an unsorted array
- Find the largest subarray with 0 sum
- Find the maximum element in an array which is first increasing and then decreasing
- Find the maximum repeating number in O(n) time and O(1) extra space
- Find the element before which all the elements are smaller than it, and after which all are greater
- Find the row with maximum number of 1s
- Find nth Magic Number
- For each element in 1st array count elements less than or equal to it in 2nd array
- Reverse Level Order Traversal
- Print BST keys in the given range
- Print a pattern without using any loop
- Print all subarrays with 0 sum
- Remove every k-th node of the linked list
- Merge two sorted lists
- Merge two sorted linked lists such that merged list is in reverse order
- Mobile Numeric Keypad Problem
- Print all Jumping Numbers smaller than or equal to a given value
- Write Code to Determine if Two Trees are Identical
- Infix to Postfix
Sharing is Caring !
Subscribe
0 Comments
Most Voted