Reverse a Linked List in groups of given size
Given a linked list, write a function to reverse every k nodes (where k is an input to the function)....
read more
Diameter of a Binary Tree
The diameter/width of a tree is defined as the number of nodes on the longest path between two end nodes....
read more
C++ Program For Union And Intersection Of Two Linked Lists
Write a C++ program for a given two Linked Lists, create union and intersection lists that contain union and intersection of the elements present in the given lists. The order of elements in output lists doesn’t matter.Example:...
read more
VMware Interview Experience (On-Campus)
VMware conducted the first round via HirePro...
read more
Longest Common Prefix using Word by Word Matching
Given a set of strings, find the longest common prefix....
read more
C++ Program To Merge K Sorted Linked Lists Using Min Heap – Set 2
Given k linked lists each of size n and each list is sorted in non-decreasing order, merge them into a single sorted (non-decreasing order) linked list and print the sorted linked list as output.Examples:...
read more
Java Program To Merge K Sorted Linked Lists Using Min Heap – Set 2
Given k linked lists each of size n and each list is sorted in non-decreasing order, merge them into a single sorted (non-decreasing order) linked list and print the sorted linked list as output.Examples:...
read more
VMware Interview Experience | Set3 (On-Campus for Full Time and Internship Offers)
Recently VMware visited our campus for full time and intern positions. There was a CGPA cut off of 7/10 for attending VMware’s hiring process....
read more
K’th Smallest/Largest Element in Unsorted Array | Worst case Linear Time
We recommend reading the following posts as a prerequisite for this post.K’th Smallest/Largest Element in Unsorted Array K’th Smallest/Largest Element in Unsorted Array | Expected Linear TimeGiven an array and a number k where k is smaller than the size of the array, we need to find the k’th smallest element in the given array. It is given that all array elements are distinct.Examples:...
read more
K’th Smallest/Largest Element in Unsorted Array | Expected Linear Time
Prerequisite: K’th Smallest/Largest Element in Unsorted Array | Set 1...
read more
VMware Interview Experience for Developer | On-Campus
VMware visited our campus in October. Around 70 students from our college registered for the VMware placement drive....
read more
VMware Interview Experience
Round...
read more