Engineer I Interview Questions

6,848 engineer i interview questions shared by candidates

write an algorithm to determine is "happy" ... a number is happy if the sum of the square of the digits ever equals one. An example of a happy number is 19: 1^2 + 9^2 = 82 8^2 + 2^2 = 68 6^2 + 8^2 = 100 1^2 + 0^2 + 0^2 = 1 If it is not happy then it will eventually hit repeat back to a number that it already saw
avatar

Software Engineer I

Interviewed at CareerBuilder

3.6
Feb 12, 2015

write an algorithm to determine is "happy" ... a number is happy if the sum of the square of the digits ever equals one. An example of a happy number is 19: 1^2 + 9^2 = 82 8^2 + 2^2 = 68 6^2 + 8^2 = 100 1^2 + 0^2 + 0^2 = 1 If it is not happy then it will eventually hit repeat back to a number that it already saw

You've a singly linked list where every node in the list has a field "random" which points to other node in the same list. Write a function to clone this list (create a new copy of the same). Don't use extra space (just the pointer variables are fine).
avatar

Software Development Engineer I

Interviewed at Microsoft

4
Aug 17, 2012

You've a singly linked list where every node in the list has a field "random" which points to other node in the same list. Write a function to clone this list (create a new copy of the same). Don't use extra space (just the pointer variables are fine).

Viewing 31 - 40 interview questions

Glassdoor has 6,848 interview questions and reports from Engineer i interviews. Prepare for your interview. Get hired. Love your job.