Developer Interview Questions

269,109 developer interview questions shared by candidates

1) Update the existing map without creating another map. 2) Write code to show the deadlock. 3) Find the maximum number from the given array. 4) Write the signature of service returning all the records from the provided table. 5) Explain about the Json format.
avatar

Senior Java Developer/Lead

Interviewed at WhizAI, an IQVIA business

4.7
May 5, 2022

1) Update the existing map without creating another map. 2) Write code to show the deadlock. 3) Find the maximum number from the given array. 4) Write the signature of service returning all the records from the provided table. 5) Explain about the Json format.

1. You have two strings. A test string and a glob Test string can have a & b, any number of times, any location. Glob can have a, b, ? and *, any number of times, any location. E.g. test= {a,b,a,a,a,a,b,b,b,b,b,b} glob = {a,?, *, b} Now, ? means ANY character, single occurrence. So it's either a or b, one time * means ANY OR NO character, any number of occurrences. E.g. the above glob and test actually match. Problem is: write an algorithm to match glob with test. You MAY NOT use regular expressions :D 2. The input is any string of any length of any characters. Write a program to generate ALL unique permutations of those characters. Unique. You may not store in an array or list, due to memory constraints. e.g. for input of abc your program should give 6 permutations but for aba your program should give 3. Hint: make the list alphabetical.
avatar

Systems Developer

Interviewed at Two Sigma

3.9
Aug 9, 2012

1. You have two strings. A test string and a glob Test string can have a & b, any number of times, any location. Glob can have a, b, ? and *, any number of times, any location. E.g. test= {a,b,a,a,a,a,b,b,b,b,b,b} glob = {a,?, *, b} Now, ? means ANY character, single occurrence. So it's either a or b, one time * means ANY OR NO character, any number of occurrences. E.g. the above glob and test actually match. Problem is: write an algorithm to match glob with test. You MAY NOT use regular expressions :D 2. The input is any string of any length of any characters. Write a program to generate ALL unique permutations of those characters. Unique. You may not store in an array or list, due to memory constraints. e.g. for input of abc your program should give 6 permutations but for aba your program should give 3. Hint: make the list alphabetical.

The first question was JavaScript scoping: var x = 9; var module = { x: 81, getX: function() { this.x = 10 return this.x; } }; module.getX(); // nr 1 -> 10 var retrieveX = module.getX; retrieveX(); // nr 2 -> 9 var boundGetX = retrieveX.bind(module); boundGetX(); // nr 3 -> 81 The second question was FizzBuzz again:
avatar

Front-end Developer

Interviewed at Typeform

3.3
Jul 14, 2016

The first question was JavaScript scoping: var x = 9; var module = { x: 81, getX: function() { this.x = 10 return this.x; } }; module.getX(); // nr 1 -> 10 var retrieveX = module.getX; retrieveX(); // nr 2 -> 9 var boundGetX = retrieveX.bind(module); boundGetX(); // nr 3 -> 81 The second question was FizzBuzz again:

Familiar questions on spring mvc,spring aop,restful API,collections,run time polymorphism,design patterns. HR interview questions: What is difference between Agile and waterfull that you have observed? Major drawback of agile? how is your normal day? what is your future aspiration?
avatar

Java Developer

Interviewed at TIAA

3.7
Aug 28, 2016

Familiar questions on spring mvc,spring aop,restful API,collections,run time polymorphism,design patterns. HR interview questions: What is difference between Agile and waterfull that you have observed? Major drawback of agile? how is your normal day? what is your future aspiration?

Viewing 881 - 890 interview questions

Glassdoor has 269,109 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.