Very simple question: There are 9 jars. 8 jars contain marbles which each marble weights 1 gram, and 1 jar contains marbles weight 1.1 gram. With a scale display number, how can define which jar contain 1.1 gram marble with only 1 scale.
Software Development Engineer Interview Questions
32,870 software development engineer interview questions shared by candidates
Did not expect math problems. They gave me a expression and let me find as accurate as possible the Lower Bound and Upper Bound. Bit level problems are also difficult to me.
Test an Function that converts string to integer. String here can be of any length!
Coding test was to write code to get all palindromes in a string. Test a refrigerator. Code to make diagonal elements 0 in a matrix.
Memory allocation
weakness
Not all that difficult.
Given a method that takes in a string of letters and returns if it is a valid word, how do you solve the problem of word segmentation? In other words, given a string of letters (a-z only) and return a valid break down of the string into an array of words. There are be multiple different valid answers, and your solution need only return one of them. Example: segment("hellohowareyou") returns ["hello", "how", "are", "you]
Questions on design patterns. Design system for a hypothetical e-commerce store...entities...design it to be distributed.
Given a matrix of n x n dimensions, write an algorithm such that each number (from 1 to n) appears only once in a column and a row. (Look up magic square for an example)
Viewing 3041 - 3050 interview questions