Create monolithic sublists from an array of integers ,in increasing order for example [1,2,4,7,5,6,3,2] will give [[1,2,4,7][5,6],[3],[2]]
Developer Support Engineer Interview Questions
1,136,057 developer support engineer interview questions shared by candidates
Given any number of arrays containing numbers, write a function which finds the numbers that appear in exactly two arrays. arrays = [ [6, 2, 2, 0, 4], [5, 0, 2, 6, 7, 1], [6, 7, 9, 9], ] find_in_two(arrays) should return [2, 0, 7]
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
Code to find a missing number in an array
They asked me if I am capable to be relocated to multiple places.
String Palindrom, reverse words in a string, find longest substring in a string, duplicate characters in a string and print the count of it.
Write C code to check if an integer is a power of 2 or not in a single line?
A car on a hill of constant slope accelerates from rest under gravity to a point on the hill. If you want to maximize the velocity of the car at this point, where along the length of the car (e.g. downhill or uphill) would you fix an additional mass, if (a) the finishing point is on the slope of the hill or (b) the finishing point is on a flat below the slope of the hill.
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