Please enable JavaScript.
Coggle requires JavaScript to display documents.
IMPORTANT CODING [QUESTIONS] (ARRAYS (Duck Duck Go, Duck Duck Go, Kadane’s…
IMPORTANT CODING [QUESTIONS]
ARRAYS
Duck Duck Go
Duck Duck Go
Kadane’s Algorithm
Missing number in array
Merge two sorted arrays
Rearrange array alternatively
Number of pairs
Inversion of Array
Sort an array of 0s, 1s and 2s
Equilibrium point
Leaders in an array
Minimum Platforms
Reverse array in groups
K’th smallest element
Trapping Rain Water
Pythagorean Triplet
Chocolate Distribution Problem
Stock buy and sell
Element with left side smaller and right side greater
Convert array into Zig-Zag fashion
Last Index of 1
Spirally traversing a matrix
Largest Number formed from an Array
STACK AND QUEUES
STACK AND QUEUES
Parenthesis Checker
Next larger element
Queue using two Stacks
Stack using two queues
Get minimum element from stack
LRU Cache
Circular tour
First non-repeating character in a stream
Rotten Oranges
Maximum of all subarrays of size k
LINKED LISTS
Finding middle element in a linked list
Reverse a linked list
Rotate a Linked List
Reverse a Linked List in groups of given size
Intersection point in Y shaped linked lists
Detect Loop in linked list
Remove loop in Linked List
n’th node from end of linked list
Flattening a Linked List
Merge two sorted linked lists
Intersection point of two Linked Lists
Pairwise swap of a linked list
Add two numbers represented by linked lists
Check if Linked List is Palindrome
Implement Queue using Linked List
Implement Stack using Linked List
Given a linked list of 0s, 1s and 2s, sort it
Delete without head pointer
STRINGS
Reverse words in a given string
Permutations of a given string
Longest Palindrome in a String
Recursively remove all adjacent duplicates
Check if string is rotated by two places
Roman Number to Integer
Anagram
Remove Duplicates
Form a Palindrome
Longest Distinct Characters in the string
Implement Atoi
Implement strstr
Longest Common Prefix