Given a binary tree, print the average of each level.
Programador Interview Questions
710,612 programador interview questions shared by candidates
Find the two largest numbers in an array
Why Accenture?
Given a log of users visit to a site for a day, how would you find returning users given the log visit for another day
There was only one question. How to compress a string? If "AAABBAAA" the resultant string should be 3A2B3A.
1. Given a string, find the smallest window with greatest no. of distinct characters 2. k sorted array. 3. longest distance between a node and its ancestor.
Using only putchar how would you print out the ascii values for each digit in an integer. For example if the integer was 123, then you would want to print the ascii values for 1, 2, and 3.
Given an infinite stream of numbers, find the top 50 integers. What's the data structure to use, and what's the time complexity.
Write a program to find the square root of a double.
Write a function to search for a string within another string. Analyze it's complexity, and propose optimizations.
Viewing 901 - 910 interview questions