# Tag Archives: VMWare

## Longest Common Prefix using Character by Character Matching

Given a set of strings, find the longest common prefix. Input : {“geeksforgeeks”, “geeks”, “geek”, “geezer”} Output : “gee” Input : {“apple”, “ape”, “april”} Output… Read More »

## Longest Common Prefix using Word by Word Matching

Given a set of strings, find the longest common prefix. Examples: Input : {“geeksforgeeks”, “geeks”, “geek”, “geezer”} Output : “gee” Input : {“apple”, “ape”, “april”}… Read More »

## Merge K sorted linked lists | Set 1

Given K sorted linked lists of size N each, merge them and print the sorted output. Examples: Input: k = 3, n = 4 list1… Read More »

## Design a stack that supports getMin() in O(1) time and O(1) extra space

Question: Design a Data Structure SpecialStack that supports all the stack operations like push(), pop(), isEmpty(), isFull() and an additional operation getMin() which should return… Read More »

## VMware Interview Experience | Set 4 (On-Campus)

Recently, VMWare has visited our campus for hiring interns and they have put a CGPA cut off of 7/10. There were 2 rounds in total.… Read More »

## Puzzle | Set 35 (2 Eggs and 100 Floors)

The following is a description of the instance of this famous puzzle involving 2 eggs and a building with 100 floors. Suppose that we wish… 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. Round… Read More »

## Count frequencies of all elements in array in O(1) extra space and O(n) time

Given an unsorted array of n integers which can contain integers from 1 to n. Some elements can be repeated multiple times and some other… Read More »

## VMWare Interview Experience | Set 3

I had interview with VMWare. Their process is 1 written test followed by 1 telephonic and 3/4 f2f interviews. Writtent test Very basic questions. They… Read More »

## VMWare Interview Experience | Set 2 (On-Campus)

First round was Online Test. There were totally 32 Questions divided into 3 categories with no negative marking. 1) Aptitude & Logical Questions (10 Questions)… Read More »

## Puzzle 6 | (Monty Hall problem)

Suppose you’re on a game show, and you’re given the choice of three doors: Behind one door is a car; behind the others, goats. You… Read More »

## K’th Smallest/Largest Element in Unsorted Array | Set 3 (Worst Case Linear Time)

We recommend reading following posts as a prerequisite of this post. K’th Smallest/Largest Element in Unsorted Array | Set 1 K’th Smallest/Largest Element in Unsorted… Read More »

## K’th Smallest/Largest Element in Unsorted Array | Set 2 (Expected Linear Time)

We recommend reading the following post as a prerequisite of this post. K’th Smallest/Largest Element in Unsorted Array | Set 1 Given an array and… Read More »

## K’th Smallest/Largest Element in Unsorted Array | Set 1

Given an array and a number k where k is smaller than size of array, we need to find the k’th smallest element in the… Read More »

## VMWare Interview | Set 1 (MTS-2)

VMWare interview for MTS-2 position. I Telephonic round 1. Given an array of strings. Find the maximum prefix among all the strings. Ans: First told… Read More »