there is an array of size n that represents rooms , just one door is open (at index 0), and each room contains keys to the other rooms, we need to check if there is a way to get into all the other rooms.
Software Engineer Intern Interview Questions
9,346 software engineer intern interview questions shared by candidates
they had a dsa round+ system design round+ hr round. dsa round was an interval sort question on compiler.
How would you implement a fair randomized shuffling algorithm?
Nothing was too difficult. The coding question was just to find, within a list of integers, the longest sequence of consecutively increasing numbers.
Given an array of integers, determine how many sequences there are of numbers that increase to a point then decrease, with at least two on each side of the max value (example: 1, 4, 5, 3, 1)
Given two sorted arrays and a number k, find the kth largest number in the union of the two arrays. Do it in place and in O(log n)
Find if there is a loop in a link list
why this position suits you
A problem that involves encoding and decoding.
First Test with java and php basic and star pattern
Viewing 531 - 540 interview questions