1. Given two strings, determine whether they are anagrams. 2. Given a list of strings, return a list of lists of strings, which represents the list grouping strings by whether they are anagrams of one another.
Software Intern Interview Questions
20,198 software intern interview questions shared by candidates
Write an algorithm that does an in-order traversal of a tree recursively. Now, write the same algorithm iteratively.
Write a function to remove all redundant characters in a given string.
Remove duplicates from a linked list. O(n) time.
How will you make this code readable (given a piece of code)
Not hard at all.
Technical Given an unsorted array of numbers (that may contain repeated numbers), print or produce a data structure that contains all the pairs that have a sum equal to a number k. Do not include pairs that are the same numbers in a different order. Ex. [3,2,6,2,0,5,3,8,7,10] [(0,10),(2,8),(3,7)]
Q. If you have three divs inside a container, how would you make it center? Q. How do you make horizontally spread divs into a vertical line in mobile phone?
Write a minPeak function for a stack (function that returns the minimum element in the stack).
From a tree, get a List of a List of Integers where each List of Integers corresponds to all ints at depth i from the root.
Viewing 211 - 220 interview questions