Given a matrix of integers, start from any column of the first row. can only move diagonally left, diagonally right and down. find the max sum possible. This is a DP problem.
Software Engineers Interview Questions
418,965 software engineers interview questions shared by candidates
Given a string that has various brackets (e.g. “{“, “(“, “[“, “}”, “)”, “]”) built into it, how would one tell that the string has a balanced number of brackets and in order?
Find 2 or more missing numbers in a set of 100 natural numbers
You have 10 boxes of balls (each ball weighing exactly10 gm) with one box with defective balls (each one of the defective balls weigh 9 gm). You are given an electronic weighing machine and only one chance at it. How will find out which box has the defective balls?
Write C code to check if an integer is a power of 2 or not in a single line?
some basic string searching or reversing linked list. finding maximum sum in a row in the interger array (contains minus) - incorrect solution approach I made here
What can you do to a method in a parent class so that it's not overriden by a method in child class with same name?
finding a missing number in a continuous number sequence.
Write a program takes in a string and a delimiter, and uses that delimiter to split a string and then will reverse the characters in every word (or jumble of characters between the delimiters), stuffing them back into a string when finished. ('The dog walks' becomes..... 'ehT god sklaw')
Two trains, each moving at 20 miles per hour towards each other, are initially 60 miles apart. A bee starts at the front of one train, flies to the other train, then back to the first train, and so on. If the bee always flies at 30 miles per hour, how far does the bee fly before the trains collide?
Viewing 601 - 610 interview questions