How would you test a vending machines? Write some test cases.
Software Development Interview Questions
37,298 software development interview questions shared by candidates
Given an int array and an int X, find out if two elements sum up to X
Display the first 3 character of a word(string)
Consider two arrays of integers, v1 and v2, with allocate memory of (n+m)*sizeof(int) and m*sizeof(int), respectively; In array v1, you have the first n positions filled with integers, sorted in ascendent order. In array v2, you have all m positions filled with integers, also sorted in ascendent order. Write/implement a function that return a vector of size (n+m)*sizeof(int) that have all the elements of v1 and v2, sorted in an ascendent order
Graph Coloring problem: given a connected graph, color each node in the graph such that no two adjacent nodes have the same color.
Generate all permutations of a string and determine if each is in the dictionary. Find an efficient data structure for the dictionary.
Data structures and algorithms, with a bit of design and some soft questions about your goals and background.
If a sorted array is rotated, how to find how many times it has been rotated.
implement atoi
Write a function that checks if a number's divisors sum up to that number, i.e. whether it's a perfect number or not.
Viewing 591 - 600 interview questions