Developer Interview Questions

270,915 developer interview questions shared by candidates

Implement the MyStack. (A lot of questions about multi-threading) @protocol Stack -(void)pushObject:(nonnull id)obj; -(nonnull id)popObjext; @property(nonatomic,assign)NSInteger count; @end @interface MyStack : NSObject <Stack> @end @implementation MyStack @end
avatar

IOS Developer

Interviewed at Booking.com

4.1
Aug 26, 2016

Implement the MyStack. (A lot of questions about multi-threading) @protocol Stack -(void)pushObject:(nonnull id)obj; -(nonnull id)popObjext; @property(nonatomic,assign)NSInteger count; @end @interface MyStack : NSObject <Stack> @end @implementation MyStack @end

String,String buffer,String builder difference. Can u write your own immutable class n how? hashmap implementation and hashcode(),equals() method he asked me to write 2 logical testing programs with reduced complexity( 0,1,1,2,4,5,3,3,1,0,1 traverse once only n get the duplicate number's along with the count). printing pascal triangle duplicate letter from a string with less complexity reversing words of string individually(this is a tree---o/p: siht si a eert)
avatar

JAVA DEVELOPER

Interviewed at Oracle

3.5
May 25, 2015

String,String buffer,String builder difference. Can u write your own immutable class n how? hashmap implementation and hashcode(),equals() method he asked me to write 2 logical testing programs with reduced complexity( 0,1,1,2,4,5,3,3,1,0,1 traverse once only n get the duplicate number's along with the count). printing pascal triangle duplicate letter from a string with less complexity reversing words of string individually(this is a tree---o/p: siht si a eert)

(this is a little easier to explain if it's drawn out, but I'll try my best to do it here) Given some integer N = 2^k which represents an NxN matrix, write a function that fills the matrix with 'L' shapes, such that the entire matrix is filled except for 1 empty space. For example, a 2x2 matrix would have 3 spaces filled with one of the corners empty. And a 4x4 matrix would have the entire outer row of spaces filled, with the center 4 filled the same way the 2x2 matrix is filled.
avatar

Android Developer

Interviewed at Vine

3.9
Apr 19, 2016

(this is a little easier to explain if it's drawn out, but I'll try my best to do it here) Given some integer N = 2^k which represents an NxN matrix, write a function that fills the matrix with 'L' shapes, such that the entire matrix is filled except for 1 empty space. For example, a 2x2 matrix would have 3 spaces filled with one of the corners empty. And a 4x4 matrix would have the entire outer row of spaces filled, with the center 4 filled the same way the 2x2 matrix is filled.

I don't remember the exact questions, but here are few string which may help you. And you passed the first round please please do share the questions. And one list request if are going to interview in any company plz share the questions. 1) Predictable delegates use as 2)global assemble cache can maintain, option a> 2 assembly with same name, version. b> same name, diff version c> maintain only one, d> 3) which not html5 attr/ properties id, name, accesskey, class,.. 4) html tag sequence <i> <u><b> 5)html not work with empty ... action, class, form,...(dont remember the exact question) 6)Conversion type cast related question. 7) if we implement interface class do we need to convert the implemented class to interface class... 8)in asp.net page completely load on which event. 9) sql cursor, a> is it slow down the process b> is it not use full, c>... 10)because of sql indexing a>table update work fast b> update work slow c> not effect. d>... 11)generic is import to use which functionality 12)in class when properties variable define.. you need 18 correct answer to clear the round. You can just go through these topic and it may help you.
avatar

Dot NET Developer

Interviewed at Digital Info Bytes

4.5
Mar 24, 2018

I don't remember the exact questions, but here are few string which may help you. And you passed the first round please please do share the questions. And one list request if are going to interview in any company plz share the questions. 1) Predictable delegates use as 2)global assemble cache can maintain, option a> 2 assembly with same name, version. b> same name, diff version c> maintain only one, d> 3) which not html5 attr/ properties id, name, accesskey, class,.. 4) html tag sequence <i> <u><b> 5)html not work with empty ... action, class, form,...(dont remember the exact question) 6)Conversion type cast related question. 7) if we implement interface class do we need to convert the implemented class to interface class... 8)in asp.net page completely load on which event. 9) sql cursor, a> is it slow down the process b> is it not use full, c>... 10)because of sql indexing a>table update work fast b> update work slow c> not effect. d>... 11)generic is import to use which functionality 12)in class when properties variable define.. you need 18 correct answer to clear the round. You can just go through these topic and it may help you.

You some amount of chocolate with you, you have to give 2 chocolate to your friend. But in-between you and your friend there r 7 gates. At each gate you have to give the man at gate 50%of what you gave and he will return a single cake back. How many will be bring to first gate?
avatar

Software Developer

Interviewed at Zoho

4.2
Aug 11, 2017

You some amount of chocolate with you, you have to give 2 chocolate to your friend. But in-between you and your friend there r 7 gates. At each gate you have to give the man at gate 50%of what you gave and he will return a single cake back. How many will be bring to first gate?

You are on vacation to your aunty house. There you will be going jogging at morning or tennis at eve. Due to tried you can't do it both at a same day. 10 morning you are idle and 17 evening too you are idle. And 13 day you played either tennis or jockey. Find the number of day you spend at your aunty house?
avatar

Software Developer

Interviewed at Zoho

4.2
Aug 11, 2017

You are on vacation to your aunty house. There you will be going jogging at morning or tennis at eve. Due to tried you can't do it both at a same day. 10 morning you are idle and 17 evening too you are idle. And 13 day you played either tennis or jockey. Find the number of day you spend at your aunty house?

Viewing 381 - 390 interview questions

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