Not hard at all.
Software Development Intern Interview Questions
2,987 software development intern interview questions shared by candidates
Remove duplicates from a linked list. O(n) time.
Write a function to remove all redundant characters in a given string.
Write an algorithm that does an in-order traversal of a tree recursively. Now, write the same algorithm iteratively.
Given a 2D array, find the sum of all the elements in the array. O(n^2) solution is too slow, find ways to optimize (ended up adding a second parameter 2D array).
About the details, and interviewer will communicate with you when you are typing.
To find least common ancestor in a binary search tree
Write a function that returns the depth of a tree.
Design and implement an algorithm to determine if a binary tree is symmetric.
In linux, a folder consists of 10000 files and some files contain US phone numbers. What would you do to display the names of files containing US phone numbers?
Viewing 61 - 70 interview questions