Interns Interview Questions

248,213 interns interview questions shared by candidates

there is a grey cube 3x3x3 was colored into red (all of its edges) . Next it was splitted into 1x1x1 cubes. 1 of these small cubes was chosen uniformly and uniformly thrown on a table. Find the P of "You can't see any red edges on this small cube"
avatar

Intern

Interviewed at Jane Street

4.4
Dec 14, 2016

there is a grey cube 3x3x3 was colored into red (all of its edges) . Next it was splitted into 1x1x1 cubes. 1 of these small cubes was chosen uniformly and uniformly thrown on a table. Find the P of "You can't see any red edges on this small cube"

Suppose there is a rectangular map where you can only travel up or right to go from a start location in the bottom left corner to the top right corner, and each move is discrete. Write a program that prints all possible solutions to get from the start to finish.
avatar

Financial Software Developer Intern

Interviewed at Bloomberg

4
Mar 5, 2010

Suppose there is a rectangular map where you can only travel up or right to go from a start location in the bottom left corner to the top right corner, and each move is discrete. Write a program that prints all possible solutions to get from the start to finish.

phone numbers: provided a phone number (654-876-0987), return all possible strings that the phone number could represent if 2 -> {A, B, C}, 3 -> {D, E, F}, and so on common substring: find the biggest common substring in 2 strings, "abcdef" "gbcdh" would return "bcd"
avatar

Software Engineer Intern

Interviewed at Meta

3.5
Oct 11, 2012

phone numbers: provided a phone number (654-876-0987), return all possible strings that the phone number could represent if 2 -> {A, B, C}, 3 -> {D, E, F}, and so on common substring: find the biggest common substring in 2 strings, "abcdef" "gbcdh" would return "bcd"

Write a function to determine if a bin tree is a valid BST. I wrote a fully working solution in 3-5 minutes. It was also the most optimal but maybe because she needed to kill time, she asked me to rewrite it in what she thought was optimal (her reasoning didn't make much sense). Then she asked me for time and space requirements of the solutions. I said O(n) for both which is correct but she insisted that the space requirement was O(logn) which is wrong.
avatar

Software Engineer Intern

Interviewed at Meta

3.5
Jan 15, 2013

Write a function to determine if a bin tree is a valid BST. I wrote a fully working solution in 3-5 minutes. It was also the most optimal but maybe because she needed to kill time, she asked me to rewrite it in what she thought was optimal (her reasoning didn't make much sense). Then she asked me for time and space requirements of the solutions. I said O(n) for both which is correct but she insisted that the space requirement was O(logn) which is wrong.

Viewing 171 - 180 interview questions

Glassdoor has 248,213 interview questions and reports from Interns interviews. Prepare for your interview. Get hired. Love your job.