Write a function to find the maximum sum of sub array where the array can have negative and positive numbers.
Sdet Interview Questions
4,391 sdet interview questions shared by candidates
In a sequence of alphabets (like aaabbddaabbcc) write a program to find the number of the consecutive alphabets in and print the alphabet and number. example :if input is aaabbddaabbcc then output should be 3a, 2b, 2d, 2a, 2b, 2c
According to you what is a good code?
Given an int array, find the sequence of elements that has the largest sum
Given a triangle, determine if its a scalene, equilateral, isosceles or neither... required knowledge of triangle properties, I learnt these properties about two decades ago so ofcourse I was fuzzy on the details, completely unexpected
Given a string, find whether it has any permutation of another string. Need to be efficient
How would you reverse the words in a string?
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.
write a sub string in a string
Sorting Algorithms Optimizations from 2 loops to just 1 loop
Viewing 21 - 30 interview questions