counting sort, binary tree preorder traversal, binary tree inorder traversal, keys and boxes (leetcode 1298)
Engineering Intern Interview Questions
24,105 engineering intern interview questions shared by candidates
Given a file system and a list of files you have access to, you can access a file if you either have direct access or you have access to its parent directory.
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)]
Write a function to swap n bits of a variable from position x and position y
Convert a binary tree into a circular doubly linked list. The order of the elements in the linked list have to be the order of elements you get when you do an in order traversal of the binary tree.
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.
given an array of strings, find all the lists of anagrams present.
Not hard at all.
How will you make this code readable (given a piece of code)
Remove duplicates from a linked list. O(n) time.
Viewing 201 - 210 interview questions