Software Engineers Interview Questions

420,226 software engineers interview questions shared by candidates

Merge 2 sorted arrays A and B Result should end up in B, which has available space for all items Utilize the space in B, not using temporary arrays Result in sorted array in B A { 2, 5, 8, 12, 15} B { 3, 5, 7, 9, , , , , , }
avatar

Software Development Engineer

Interviewed at Microsoft

4
Dec 7, 2016

Merge 2 sorted arrays A and B Result should end up in B, which has available space for all items Utilize the space in B, not using temporary arrays Result in sorted array in B A { 2, 5, 8, 12, 15} B { 3, 5, 7, 9, , , , , , }

Consider 4 components of a color where: unsigned char red = 0x10; unsigned char green = 0xFF; unsigned char blue = 0x0F; unsigned char alpha = 0x44; Generate a packed color ARGB which is a 32 bit integer such that A is in the MSB of ARGB followed by red, green, blue ----------------- | A | R | G | B | -----------------
avatar

Senior Software Engineer

Interviewed at SanDisk

3.4
Apr 3, 2010

Consider 4 components of a color where: unsigned char red = 0x10; unsigned char green = 0xFF; unsigned char blue = 0x0F; unsigned char alpha = 0x44; Generate a packed color ARGB which is a 32 bit integer such that A is in the MSB of ARGB followed by red, green, blue ----------------- | A | R | G | B | -----------------

1) One grandfather has three grandchildren, two of their age difference is 3, eldest child age is 3 times youngest child’s age and eldest child’s age is two times of sum of other two children. What is the age of eldest child? (Ans: 15 years) 2) we can tell you that the first and last digits of the year during which he was born add up to the second digit and that the third digit is one larger than the second digit and that 3 times fourth digit equals 2 times the third digit. Calculate year of his birth. (Ans: 1564) 3) Bella wants to go on a date and prefers her date to be tall, dark and handsome. Of the preferred traits - tall, dark and handsome - no two of Lautner, Jacob, Edward and Welch have the same number. Only Lautner or Welch is tall and fair. Only Jacob or Edward is short and handsome. Lautner and Edward are either both tall or both short. Jacob and Welch are either both dark or both fair. Who is Bella's date? (Ans: Edward)
avatar

Software Engineer

Interviewed at VinSol

3.7
Nov 14, 2014

1) One grandfather has three grandchildren, two of their age difference is 3, eldest child age is 3 times youngest child’s age and eldest child’s age is two times of sum of other two children. What is the age of eldest child? (Ans: 15 years) 2) we can tell you that the first and last digits of the year during which he was born add up to the second digit and that the third digit is one larger than the second digit and that 3 times fourth digit equals 2 times the third digit. Calculate year of his birth. (Ans: 1564) 3) Bella wants to go on a date and prefers her date to be tall, dark and handsome. Of the preferred traits - tall, dark and handsome - no two of Lautner, Jacob, Edward and Welch have the same number. Only Lautner or Welch is tall and fair. Only Jacob or Edward is short and handsome. Lautner and Edward are either both tall or both short. Jacob and Welch are either both dark or both fair. Who is Bella's date? (Ans: Edward)

Viewing 1531 - 1540 interview questions

Glassdoor has 420,226 interview questions and reports from Software engineers interviews. Prepare for your interview. Get hired. Love your job.