Reversi / Othello Game Logic: You receive a board size n and a series of moves. You have to simulate the game mechanics of Othello/Reversi. This involves placing a piece, checking all 8 directions (vertical, horizontal, diagonal) for opponent pieces, and "flipping" them if they are sandwiched between your pieces. You had to return the final score of Black vs. White pieces.
Algorithm Design Engineer Interview Questions
983 algorithm design engineer interview questions shared by candidates
Write an algorithm to run a parking lot
I've spent a decent time solving problems at leetcode but what I found is that I was asked only in Geometry and basic concepts about programming! they also expect you to have C++ as your main language not your preferred one. So if you're a ninja in coding and not strong in geometry or math, this is not for you (or If you don't code in C++ of course)
Stock buy sell problems, sorting algorithms
Create a data structure that has certain properties
Write a parser to evaluate math expressions
What did you do in your previous role?
1) Given an array of list, determine if each number in the list can be written as a sum of 2 Fibonacci numbers. 2) Pandas questions. 3 & 4) Determine how many squares (q3) and rectangle (q4) can be formed given a bunch of points on the coordinate system.
- OS related question: process vs thread, virtual memory - Algorithm question
Some leetcode style question, and you need to describe your idea.
Viewing 621 - 630 interview questions