Nothing too difficult, wanted to know how to track duplicate words in a book.
Software Development Engineer Internship Interview Questions
76 software development engineer internship interview questions shared by candidates
All the three interviewers had a common question: "Tell me something about yourself."
2a. Given a binary array (an array consisting of only '1's and '0's) of length n, find the minimum number of operations necessary to collect all the '1's at the ith position. In one operation you can shift only one '1' to an adjacent position. Return the minimum number of operations required for every index from 1 to n.
2b. Given a binary tree, flatten the binary tree into one dimension in such a way that the order in which one can access the elements is the same as a preorder traversal and only the left child nodes can contain values, the right child has to point NULL.
Lowest Common Ancestor of a Binary Search Tree.
How would you deal with the tight deadline?
Q: explain how you embody the leadership principle of bias for action.
You are given a task to parse phone numbers out of a logfile on a linux system. How would you approach this task?
Implement a stack from the scratch. Add a method to return the min value of the stack, in addition to pop() and push().
Pretty easy questions. Seems like they were straight from Program Interviews Exposed, and basic data structure & OOP questions.
Viewing 61 - 70 interview questions