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
Developer Support Engineer Interview Questions
1,136,079 developer support engineer interview questions shared by candidates
String Palindrom, reverse words in a string, find longest substring in a string, duplicate characters in a string and print the count of it.
Code to find a missing number in an array
You have 10 boxes of balls (each ball weighing exactly10 gm) with one box with defective balls (each one of the defective balls weigh 9 gm). You are given an electronic weighing machine and only one chance at it. How will find out which box has the defective balls?
Find 2 or more missing numbers in a set of 100 natural numbers
They asked me if I am capable to be relocated to multiple places.
Write C code to check if an integer is a power of 2 or not in a single line?
Explain a scenario where hold violation can be fixed by lowering frequency.
We have a cup of hot coffee and a small cold milk out of the fridge. The room temperature is in between these two. When should we add milk to coffee to get the coolest combination earliest ( at the beginning, in the middle, or at the end)?
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
Viewing 991 - 1000 interview questions