find if string1 exists in string2, give test conditions
Software Development Interview Questions
36,991 software development interview questions shared by candidates
Write test cases for the above function.
How many people can you stuff in a school bus
Given an array of positive and negative numbers, give an algorithm that would find the sequence of numbers that give the largest sum. The numbers have to be in sequential order.
Given a string "aaabbc", convert it to "3a2b1c". Output the result only its length is smaller than the input length.
How many lines of code I wrote for the project I worked on?
Given inorder and preorder traversals of a tree, reconstruct the tree.
There is a cuboid, with metal balls, now you are given X-RAy of two adjacent faces, so that you have black spots of there is ball in ( depth ) of that cell. Now u have to tell where all are there balls
Write a function to reverse a String. I asked if I could use Java which the interviewer said was fine. After writing half the code he indicated that I actually should have written the algorithm for a character array. Ughh, I really screwed this one up but I feel like the question should have been administered better.
Given a random array, how can you find the median without using any know sorting algorithm?
Viewing 1071 - 1080 interview questions