There was only one question. How to compress a string? If "AAABBAAA" the resultant string should be 3A2B3A.
Softwareentwickler Php Interview Questions
512,342 softwareentwickler php interview questions shared by candidates
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.
Write an algorithm to verify if a tree is a binary search tree.
Create a data structure that minimizes time complexity of retrieving median and inserting new element. Getting median should be O(1) and insertion should be O(log(n)).
Divide two numbers without using / or % and return quotient.
You have words separated by white spaces. You need to reverse their order in place.
Viewing 801 - 810 interview questions