Senior Developer Interview Questions

29,089 senior developer interview questions shared by candidates

Given an array of numbers where every number >= 0. The items need to be connected. If no answer exists return maxInt example 1: arr = [1, 4, 45, 6, 0, 19] target = 51 output -> 3 because sum([4, 45, 6]) > 51 example 2: arr = [1, 10, 5, 2, 7] target = 9 output -> 1 because sum([10]) > 9
avatar

Senior Full Stack Developer

Interviewed at Sayata

4.5
Jul 2, 2023

Given an array of numbers where every number >= 0. The items need to be connected. If no answer exists return maxInt example 1: arr = [1, 4, 45, 6, 0, 19] target = 51 output -> 3 because sum([4, 45, 6]) > 51 example 2: arr = [1, 10, 5, 2, 7] target = 9 output -> 1 because sum([10]) > 9

1. Find missing element in 2 arrays. a={1,2,3,4}, b={1,2,4}. Ans=3 2. Count no of ON bits in a number. a=3 Ans=2 3. Print all permutations of string. s="12". Ans=12,21. - Use dynamic programming 4. Find 2 strings are anagrams, any other method than sorting?
avatar

Senior Software Developer

Interviewed at Parallel Wireless

3.5
Oct 22, 2021

1. Find missing element in 2 arrays. a={1,2,3,4}, b={1,2,4}. Ans=3 2. Count no of ON bits in a number. a=3 Ans=2 3. Print all permutations of string. s="12". Ans=12,21. - Use dynamic programming 4. Find 2 strings are anagrams, any other method than sorting?

Viewing 281 - 290 interview questions

Glassdoor has 29,089 interview questions and reports from Senior developer interviews. Prepare for your interview. Get hired. Love your job.