MISSING VALUE Interview Questions

6,572,321 interview questions shared by candidates

input log = [ { 'user': 'A', 'page': 1}, { 'user': 'B', 'page': 5}, { 'user': 'A', 'page': 2}, { 'user': 'A', 'page': 1}, { 'user': 'B', 'page': 2}, { 'user': 'C', 'page': 7}, { 'user': 'C', 'page': 3}, { 'user': 'A', 'page': 3}, { 'user': 'C', 'page': 1}, ] please implement discover_site_map(log) discover_site_map returns a representation of the links between pages, using whatever data structure you think is suitable: 1 -> 2, 3 2 -> 1 3 -> 1 5 -> 2 7 -> 3
avatar

Software Developer

Interviewed at Booking.com

4.1
Jun 20, 2016

input log = [ { 'user': 'A', 'page': 1}, { 'user': 'B', 'page': 5}, { 'user': 'A', 'page': 2}, { 'user': 'A', 'page': 1}, { 'user': 'B', 'page': 2}, { 'user': 'C', 'page': 7}, { 'user': 'C', 'page': 3}, { 'user': 'A', 'page': 3}, { 'user': 'C', 'page': 1}, ] please implement discover_site_map(log) discover_site_map returns a representation of the links between pages, using whatever data structure you think is suitable: 1 -> 2, 3 2 -> 1 3 -> 1 5 -> 2 7 -> 3

Write a program takes in a string and a delimiter, and uses that delimiter to split a string and then will reverse the characters in every word (or jumble of characters between the delimiters), stuffing them back into a string when finished. ('The dog walks' becomes..... 'ehT god sklaw')
Feb 28, 2013

Write a program takes in a string and a delimiter, and uses that delimiter to split a string and then will reverse the characters in every word (or jumble of characters between the delimiters), stuffing them back into a string when finished. ('The dog walks' becomes..... 'ehT god sklaw')

Mainly two math problem: -When can you start to work? -Q1: 3-dimension rectangular solid, total surface 64 cm^2, total length of edges 40cm, find the length of longest diagonal. -Q2: A coin, probability to get head is less than 0.5, the probability to flip it four times and get two heads and two tiles is 1/6. Find the probability to get a head in one flip.
avatar

Seismic Imaging Analyst

Interviewed at Viridien

3.5
Apr 16, 2018

Mainly two math problem: -When can you start to work? -Q1: 3-dimension rectangular solid, total surface 64 cm^2, total length of edges 40cm, find the length of longest diagonal. -Q2: A coin, probability to get head is less than 0.5, the probability to flip it four times and get two heads and two tiles is 1/6. Find the probability to get a head in one flip.

Viewing 3881 - 3890 interview questions

Glassdoor has 6,572,321 interview questions. Prepare for your interview. Get hired. Love your job.