Development Interview Questions

137,246 development interview questions shared by candidates

Given a linked list with three fields: a data field, a next field and a random pointer field (which is a field that points to null or to an element in the linked list) write a function to return a copy of the linked list without destructively modifying the original linked list
avatar

Software Development Engineering Intern

Interviewed at Microsoft

4
Dec 18, 2014

Given a linked list with three fields: a data field, a next field and a random pointer field (which is a field that points to null or to an element in the linked list) write a function to return a copy of the linked list without destructively modifying the original linked list

The question was: Given a text written in some language where the alphabets are represented with 1 byte or 2 byte. But the one byte alphabets always have their MSB 1 and the 2 byte charecters always have their MSB 0. Now when at some point user presses a back space how many bytes are to be deleted to erase the alphabet?
avatar

Software Development Engineer

Interviewed at Microsoft

4
Aug 25, 2016

The question was: Given a text written in some language where the alphabets are represented with 1 byte or 2 byte. But the one byte alphabets always have their MSB 1 and the 2 byte charecters always have their MSB 0. Now when at some point user presses a back space how many bytes are to be deleted to erase the alphabet?

Viewing 521 - 530 interview questions

Glassdoor has 137,246 interview questions and reports from Development interviews. Prepare for your interview. Get hired. Love your job.