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.
Intern Software Interview Questions
17,720 intern software interview questions shared by candidates
Write a function to swap n bits of a variable from position x and position y
given an array of strings, find all the lists of anagrams present.
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.
Write an algorithm that does an in-order traversal of a tree recursively. Now, write the same algorithm iteratively.
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.
Implement java's pow function
Write a function that takes in an integer N and returns the sum for all numbers between 1 to N excluding multiples of 3 and 5.
Viewing 211 - 220 interview questions