Similar Topics
DSA
21.9k+ articles
Experiences
14.2k+ articles
Interview Experiences
12.1k+ articles
Arrays
6.3k+ articles
Amazon
1.7k+ articles
Linked List
1.1k+ articles
Microsoft
740+ articles
Accolite
290+ articles
Samsung
290+ articles
MakeMyTrip
200+ articles

Flipkart

220+ posts
Maximum width of a Binary Tree
Queue using Stacks
The problem is opposite of this post. We are given a stack data structure with push and pop operations, the task is to implement a queue usi...read more
image
Inversion count in Array using Merge Sort
Inversion Count for an array indicates - how far (or close) the array is from being sorted. If the array is already sorted, then the inversi...read more
image
Similar Topics
DSA
21.9k+ articles
Experiences
14.2k+ articles
Interview Experiences
12.1k+ articles
Arrays
6.3k+ articles
Amazon
1.7k+ articles
Linked List
1.1k+ articles
Microsoft
740+ articles
Accolite
290+ articles
Samsung
290+ articles
MakeMyTrip
200+ articles
Level order traversal in spiral form
Given a Binary Tree, the task is to print the Level order traversal of the Binary Tree in spiral form i.e, alternate order.Example:Input:Out...read more
image
Level Order Traversal (Breadth First Search or BFS) of Binary Tree
Level Order Traversal technique is defined as a method to traverse a Tree such that all nodes present in the same level are traversed comple...read more
image
Search an element in a sorted and rotated Array
Find Middle of the Linked List
Given a Singly Linked List, the task is to find the middle of the linked list. If the number of nodes are even, then there would be two midd...read more
image
Largest Sum Contiguous Subarray (Kadane's Algorithm)
Given an array arr[] of size N. The task is to find the sum of the contiguous subarray within a arr[] with the largest sum. Example:Input: ...read more
image
Check if pair with given Sum exists in Array (Two Sum)