You roll a six-sided fair die until you get all the faces. On average, how many times do you need to roll it?
Algorithm Development Interview Questions
881 algorithm development interview questions shared by candidates
Leetcode medium+ questions, background questions
How to work in a large codebase and build on existing code and work.
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.
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.
Viewing 551 - 560 interview questions