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.
Engineer Software Interview Questions
511,738 engineer software interview questions shared by candidates
Given an infinite stream of numbers, find the top 50 integers. What's the data structure to use, and what's the time complexity.
There was only one question. How to compress a string? If "AAABBAAA" the resultant string should be 3A2B3A.
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.
given an arrya of numbers see if you can get to index with 0 in it from an index by jumping through the array using the values in the array. So if you have [1,2,1,0,3] you can get to 0, from 0 by jumping 0, you can get to 0 from 3, by jumping 3 index down to 2 and then jumping 2 index up to 0...
Why Accenture?
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.
You have words separated by white spaces. You need to reverse their order in place.
Use objective-c write code to return the first repeated integer from a given array, with O(n) time
Viewing 801 - 810 interview questions