Last 15 mins- coding question: Given 6 integers and 1 target value, write a function to get the target value using 6 integers with any on these operations +,*,-,/
Developer Big Data Interview Questions
731,244 developer big data interview questions shared by candidates
Implement a method 'find' that will find the starting index (zero based) where the second list occurs as a sub-list in the first list. It should return -1 if the sub-list cannot be found. Arguments are always given, not empty. Sample Input 1 list1 = (1, 2, 3) list2 = (2, 3) Sample Output 1 1 Explanation As second list (2, 3) is sub-list in first list (1, 2, 3) at index 1 Sample Input 2 list1 = (1, 2, 3) list2 = (3, 2) Sample Output 2 -1
will cache affect memory I/O register?
How many degrees are between the hour and minute hand on a clock at 9:45?
Product Sense, Data Modeling, SQL, Python, Ownership
Given the root of a binary tree and an integer targetSum, return all root-to-leaf paths where each path's sum equals targetSum.
Complete a function that returns a list containing mismatched words in two strings. The return list can be in any order. I used set to solve this question, but was also asked to verbally explain how I would solve it without using sets.
Question 2: What are the top five (ranked in decreasing order) single-channel media types that correspond to the most money the grocery chain had spent on its promotional campaigns?
given numbers 1 4 2 0 2 0, move all zeros to beginning using minimum sorting technique
The first question is two find the largest and second largest value at each level of a binary tree. You don't need to return all values, just print out instead. the second question is to return a value in an array with the probability proportional to the weight of the value within the array. For example, in an array [4,5,6], return 4 with probability 4/15, 5 with 5/15 and 6 with 6/15. You are given a function that returns a random real number between 0 and 1
Viewing 1571 - 1580 interview questions