Write algorithm to compute a Log to the base 2 of a number (integral results no need for floating point). Solution should not assume a particular size of integer
Senior Interview Questions
340,844 senior interview questions shared by candidates
Look for a string in a very long string - a needle in a haystack. Write the program in pseudo-code.
Suppose you are working on a project with an original scope of a few months and you are told that you instead now have a few days -- how would you handle it?
Why are you leaving your current job?
Implement a method called printNonComments() which prints out a extract of text with comments removed. For example, the input: hello /* this is a multi line comment */ all Should produce: hello all You have access to a method called getNextLine() which returns the next line in the input string.
A key is broken on your laptop keyboard. How do you work around it until you can get a new keyboard?
If it is 3:15. how many degrees are between the little and big hand?
Given the company forms a partnership with Hulu. The subscription fee is $2 per customer per month and ad revenue is $3 per customer per month, for additional customers. Hulu has 50 million subscribers and the adoption rate is 20%. How will this affect the company? How long can the company last without making loss?
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.
Viewing 131 - 140 interview questions