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
Software Engineer Interview Questions
466,538 software engineer interview questions shared by candidates
Why is a manhole cover round?
Write C code to check if an integer is a power of 2 or not in a single line?
some basic string searching or reversing linked list. finding maximum sum in a row in the interger array (contains minus) - incorrect solution approach I made here
What can you do to a method in a parent class so that it's not overriden by a method in child class with same name?
Why Syntel ?
Why should we hire you?
1. Find vowels from the given string in the first round. 2. They provided small small c# programs for each sessions
1.add only even number from given array 2.unique character string 3.decimal to binary conversion 4.palindrome string
You have a 10x10x10 rubix cube. You paint the outside. How many cubes have paint on them?
Viewing 561 - 570 interview questions