oops technical questions projects one programming language
Software Development Engineer Interview Questions
32,870 software development engineer interview questions shared by candidates
Reverse all words in a sentence
I forgot how to turn ASCII code to char and char to ASCII code.
Nothing really difficult when compared to rest of the industry
You are provided with a rotating disk and and an unlimited supply of binary color sensors. One half of the disk is colored black and the other half is white. The problem is to determine the rotational direction of the disk.
When does your passport expire ?
Suppose you have a string which has characters that are either one or two bytes long. A one byte character has 0 as the left most bit. The first byte of a two byte character has 1 as the left most bit but the second byte's left most bit (LMB) could be either 1 or 0. Implement an algorithm for removing 1 character from the end of the string. How would you do it while scanning backwards from the end of the string. Followup: What if you needed to do this repeatedly? Is there some way you could reduce the time complexity to constant?
Given a singly linked list, swap the kth node and the kth node from the end. Don't check for size.
Given a Stack with n elements, write a method that always keeps the max of the stack?
Reverse a linked list
Viewing 2961 - 2970 interview questions