Software development engineer i Interview Questions | Glassdoor.ca

# Software development engineer i Interview Questions

29

software development engineer i interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Software Development Engineer I at Amazon was asked...

Apr. 28, 2019
 Delete node in BST3 AnswersGoodThat's crazy to ask such questions - it takes 2 hours to implement. Probably, interviewers ask them when they want the candidate to fail.I even can't post the answer - it shows that it exceeded the limit.

### Software Development Engineer I Intern at Amazon was asked...

Jun. 17, 2016
 You have two operations: add by one and multiply by 2. Find the minimum number of operations to get from 0 to any particular integer.2 Answersint countOperations = 1; int currentNum = 1; while (currentNum != num){ if (currentNum * 2 > num) { currentNum++; } else currentNum*=2; countOperations++; System.out.println(currentNum); }//the idea is to do this in reverse... as it will ensure we find the minimum number of operations //we want to leverage multiple as much as possible for large numbers. //However, we need to be able to multiply by 2 just right. //Therefore, doing that in reverse can lead to better results //for example: 9 -> 8+1 -> 1*2*2*2 + 1 -> 5 operations //for example: 10 -> 5*2 -> (1*2*2+1)*2 -> 5 operations //for example : 12 -> 6*2 -> 3*2*2 -> (1+1+1)*2*2 -> 5 operations var currentNumber = target; var operations = 1; while(currentNumber != 1) { if (currentNumber % 2 == 0) { currentNumber /= 2; } else { currentNumber -= 1; } operations += 1; } console.log(operations);

Jul. 11, 2017

### Software Development Engineer I Intern at Amazon was asked...

Mar. 14, 2016
 OOD difference between virtual function and abstract function1 Answervirtual function can have implement while abstract is only function signature

Mar. 27, 2016

### Software Development Engineer I Intern at IBM was asked...

Nov. 4, 2015
 Name 5 datastructures.1 AnswerI simply stated 5: Array, Queue, Stack, etc...

### Software Development Engineer I Intern at Amazon was asked...

Jul. 11, 2017
 Questions about bsts and running operations on them.1 AnswerBasic DS and algos

### Software Development Engineer I at Amazon was asked...

Mar. 6, 2013
 NDA, sorry.1 Answerhi, did you actually complete the project?

### Software Development Engineer I at Amazon was asked...

Sep. 14, 2012
 transform a [1,0] matrix grid into matrix grid of manhattan distance between closest 1's1 Answerpush the location of '1's into a queue, and do BFS. Keep counting the num of cell that has been calculated in order to stop in time.

### Software Development Engineer I Manager at Amazon was asked...

Oct. 26, 2015
 tell me when ...Be the first to answer this question
110 of 29 Interview Questions