Senior software developer Interview Questions in United States |

Find jobs for senior software developer

Senior software developer Interview Questions in United States


senior software developer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Given an array of numbers, replace each number with the product of all the numbers in the array except the number itself *without* using division.

34 Answers

Create a tree, where the leaf nodes are the initial values in the array.

Given array A[1..n] create array B[1..n]= {1} // all elements =1 ; for (i=1; ij) B[i] *=A[j]; } } A=B;

To husb: Your answer will work, but it's O(n^2) solution. Can you do better?

One or more comments have been removed.
Please see our Community Guidelines or Terms of Service for more information.

Coderpad: given an array scores[][] = {“jerry”,”65”},{“bob”,”91”}, {“jerry”,”23”}, {“Eric”,”83”}} Find the student with highest average score

20 Answers

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.

12 Answers

Write a probability formula to tell how many bits will be changed when 1 is added to a 32 bit binary number.

11 Answers

Write some pseudo code to raise a number to a power.

11 Answers

Create a stack of numbers where the maximum number is always known.

10 Answers

In a stream of integers from 1 to n, only one number will be repeated. How can you tell what that number is?

11 Answers

Traverse nodes in a binary tree

11 Answers

Intersection of two numerical arrays

8 Answers

Behavioral Why outreach The impact you hope to have from your next role?What is most important factor in your career/job What do you think about RSpec? How do you compare it with other frameworks What was the hardest/Challenging technical problem you faced and how did you resolve it Coding This problem concerns finding a time when we can do daily recurring maintenance on a server. You are to write a function that is given the following information: List of times when the server is busy every day Duration, in minutes, of the desired maintenance window The function should return the start time of a daily maintenance window when the server is not busy. In pseudo-code, the function signature would look something like this: maintWindowStart(busyTimes, durationMins) -> startTime The "busy times" should be time ranges like the following, and can be represented in whatever data structure you feel is appropriate. 0:05 to 0:30 = [5, 30] 2:00 to 4:01 = [120, 241] 13:10 to 16:55 = [790, 1015] [[5, 30], [120, 541], [790, 1015]] // requested duration -> expected start time // 10 -> 30 // 120 -> 541 // 4 -> 0 // 300 -> 1015

8 Answers
110 of 10,736 Interview Questions