Consider an X x Y array of 1's and 0s. The X axis represents "influences" meaning that X influences Y. So, for example, if $array[3,7] is 1 that means that 3 influences 7. An "influencer" is someone who influences every other person, but is not influenced by any other member. Given such an array, write a function to determine whether or not an "influencer" exists in the array.
Sr Engineer Interview Questions
107,090 sr engineer interview questions shared by candidates
How many credit cards does Amex issue in a year in US?
Write a probability formula to tell how many bits will be changed when 1 is added to a 32 bit binary number.
Create a stack of numbers where the maximum number is always known.
Traverse nodes in a binary tree
In a stream of integers from 1 to n, only one number will be repeated. How can you tell what that number is?
Is 3,599 a prime number? Yes or No. Explain.
There will be a meeting at New York and San Francisco offices. We will have to fly the participants to either one of these two offices. Let's say each office can accommodate half of the participants. Our goal is to assign each participant to an office in a way that the total travel cost for the company is minimized. What is this minimal cost? SF NY A 500 700 B 200 600 C 400 500 D 600 200 Output : 1400 (A:500 + B:200 + C:500 +D: 200)
How many golf balls can fit in a school bus?
Intersection of two numerical arrays
Viewing 11 - 20 interview questions