How many people can you stuff in a school bus
Software Development Interview Questions
37,302 software development interview questions shared by candidates
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.
One example that I thought was interesting: given a list of points, find the line that goes through the greatest number of them.
Write recursion that calculate the permutation of string
Array, Tree, Dynamic Programming questions
Viewing 1071 - 1080 interview questions