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
MISSING VALUE Interview Questions
6,572,321 interview questions shared by candidates
Hoe verwijder je herhaalde waarden uit een Int Array en geef je de resulterende array terug in dezelfde volgorde als het origineel?
Number Series : 1 6 12 13 19 _
You have 7 Identical marbles but one is slightly heavier than the others. You also have a balance scale. Identify which marble is heavier only using the scale twice
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')
Why is a manhole cover round?
finding a missing number in a continuous number sequence.
String Palindrom, reverse words in a string, find longest substring in a string, duplicate characters in a string and print the count of it.
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.
Why did i choose to apply for JATO?
Viewing 3881 - 3890 interview questions