Connect Four is a game where two players take turns dropping their color discs into a vertically suspended grid. The game ends when a player adds a disc to the playing grid that connects four discs of their color. The connected discs can be in a horizontal, vertical or diagonal line. Write a function to be called after every turn that returns true if the game is over (and false otherwise).
Intern Interview Questions
249,704 intern interview questions shared by candidates
what characteristics do you think make a good team member
Find the Heaviest ball in 9 given balls by two times
Why verizon?
You are in charge of building a pipeline 200 miles from the ocean to a refinery and there is a mountain range in the way. What issues are involved in this project?
How would you sort an array if you had infinite RAM? Infinite memory?
You have an array of red balls and blue balls. Sort them in linear time and constant space so that all the red balls are in the front, and all the blue balls in the back.
if you have 12 balls and one was lighter than the rest, how would you figure out the lightest on in one try
how to count the instances of a class?
Tell me a time you dealt with a difficult situation
Viewing 361 - 370 interview questions