How would you count the number of words in a string consisting of uneven number of spaces between words( not dictionary words)? With and without library functions.
Software Engineer Ii Interview Questions
420,437 software engineer ii interview questions shared by candidates
Print all permutations of a given string.
print all permutations of a string
Accurately (this is the catch) read a 64bit register value using a method that can read only 32bit at a time
Write a function that takes an input string, consisting of several words separated by spaces, and print out each word reversed, keeping the same order within the string.
int getCount(int[] arr, int num)
How would you reverse the words in a string?
write a boolean method to find out if a number is a power of 2
1- Given an array of integers, positive and negative. find an interval in that array, whose elements constitutes the maximum sum
Given an integer write a function that converts the input into a linkedList where each node corresponds to a number of the integer. Eg: 25697 == 2 -> 5 -> 6 -> 9 -> 7 Then write a function that takes 2 linkedList, add the corresponding integers and return a third list with the result.
Viewing 1281 - 1290 interview questions