Complexity of this algorithm. How to improve the complexity?
Software Interview Questions
551,385 software interview questions shared by candidates
Given an array of 100 integers where every integer from 1-101 occurs once, except for one. Find the missing integer.
In the next round, the interviewer gave me a binary tree and asked me to write all the data in a file and when the file is read back we should be able to construct the original binary tree.
He asked me to give him the algorithm for the Fibonacci number in both iterative and using recursion. I failed to solve a problem regarding the algorithm of a rand7 function by using a rand5 function.
Write a function to remove all redundant characters in a given string.
Given two sets of trees and ignoring the content of the nodes, describe rules that would define whether or not these two trees are equivalent.
Write a function that determines the divisors of an supplied parameter and which of those are prime numbers.
Without using length and size function how could you get the 2nd last variable in an array of integers?
Find local maxima in an unsorted array with n time
Given a linked list. Write a C program to reverse it.
Viewing 2811 - 2820 interview questions