GM:1(called as AA ) :: Given a character array of consisting of A-Z characters , i had to replace a series of characters in the following manner :AAAABBCCC to be replaced by 4A2B3C.
Intern Software Interview Questions
17,775 intern software interview questions shared by candidates
How do you do anagrams in Java without using the Math class function?
Interview 1: Given the following rules of python, write a compiler for it. 1st line has no margin on the left. Each subsequent line has margin which is greater than or equal to the margin of any of the lines above it(as in python). Each line which ends with a ‘:’ should have next line with alignment > the previous line (like function definition in python). Report erroneous line number if any of this is violated.
Interview 2: You have a string of words and 2 given words. Find the shortest substring that has both the words. Print 6 preceding words before the first word and 6 succeeding words after the last word in the original string. Ex. if the words are a & b, then the substring to be printed should be. word1 word2 … word 6 a …. b word7 word 8 … word 12 He later asked me to extend it if we have 3 words a,b and c. And the substring should contain all the words.
The most unexpected interview was when I was supposed to interview my interviewer during lunch. While not entirely difficult, it was totally unexpected.
Why are you using Windows Phone 8 phone and developing Windows 8 apps ? Dont you know Android is the no.1 mobile operating system ?
Given the speed cars across a bridge, measure the volume of the traffic.
Find the longest palindrome in a string
recursion leetcode easy。 basic and design
Can you explain a project where you solved a difficult problem?
Viewing 2611 - 2620 interview questions