Java: how do you make n threads run at the same time?
Software Engineers Interview Questions
429,595 software engineers interview questions shared by candidates
Write a program to fetch even natural numbers
Coding questions on String, Bit manipulation, trees, etc.
Given two files that has list of words (one per line), write a program to show the intersection.
You have a n number of cities. Lets say city 1 has some information that needs to be sent to all other n-1 cities using minimal cost. Cost between each pair of cities is given. any number of cities can transmit the information once they receive the information but the overall total cost should be minimum
You have a genealogy: 1) Describe a data structure to represent it. 2) Given any two people within the genealogy, describe an algorithm to determine if they share a common ancestor. You just need to return true/false, not all ancestors.
Reverse words in a sentence (a char[]) without using additional space. eg. "Hello there children" -> "children there Hello"
Given a matrix with 1's and 0's, find the number of groups of 1's. A group is defined by horiz/vertically adjacent 1's.
Use basic arithmetic operations (+-*/) to implement sqrt function.
Given N credits cards, determine if more than half of them belong to the same person/owner. All you have is an array of the credit card numbers, and an api call like isSamePerson(num1, num2).
Viewing 421 - 430 interview questions