Technical Sample Questions Flashcards

1
Q

Write a calender system which can show scheduled meetings (from - to) and attendees. Sort the meetings according to some rules (ex: starting time in ascending order). Find out how many meetings are overlapped.

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Given a ‘friendship’ graph, how would you generate friend suggestions for people, and how would you distribute the data across machines?

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Compress a list of two letter country codes for transmission across the internet

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Given a series of words written using a scrambled alphabet, figure out what order the letters of the alphabet are in

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

a runlength decoder, call a function iterate and write this function.

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

“how to count the letters in this string:” “The quick brown fox jumps over the lazy dog”

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Given a grid of points, give an algorithm to minimize the distance between two points.

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Implement a data structure with constraints on insert/remove and a magic method.

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Given X number of search terms, write an algorithm that will return the smallest substring from an article that contains all of the search terms

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

bit manipulation

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

how to find the pivot element in a rotated array of integers

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How to find the nearest parent of any two nodes in a given tree. Tree has mother and father nodes

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly