If a tree possess same tree node.
Software Development Internship Interview Questions
205 software development internship interview questions shared by candidates
Given magazine cutouts (letters) and a ransom note, return True if the magazine cutouts can form the ransom note, False if not.
Live interview question: make a function that takes int as an input and returns the smallest number of steps it would take to get to one. (a step being one of the following: subtract by 1, divide by 2, divide by 3).
1. Tell me a time when your teammate challenges you. 2. Tell me a time when you act outside of your responsibility.
Q: explain how you embody the leadership principle of bias for action.
How would you deal with the tight deadline?
Exlpain how a web server works
Implement a stack from the scratch. Add a method to return the min value of the stack, in addition to pop() and push().
Q: How would you do a deep copy of a singly linked list in which every node, besides the pointer to the next node, has an additional pointer to a random element of the list?
Consider a long alley with N doors on one side. All the doors are closed initially. You move to and fro in the alley changing the states of the doors as follows: You open a door that is already closed, and you close a door that is already opened. You start at one end go on altering the state of the doors till you reach the other end, and then you come back and start altering the states of the doors again. In the first go, you alter the states of doors numbered 1, 2, 3, …, N. In the second go, you alter the states of doors numbered 2, 4, 6, …. In the third go, you alter the states of doors numbered 3, 6, 9 …. and so on… The above procedure will continue till the Nth turn in which you alter the state of the door numbered N. The task is to find the number of open doors at the end of the procedure. Examples: Input: N = 3 Output: 1 Input: N = 100 Output: 10
Viewing 191 - 200 interview questions