graviton interview experience Real time questions & tips from candidates to crack your interview

Quantitative Research

graviton
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
It was an off-campus opportunity. The company approached multiple students from our campus who had under-2000 JEE ranks. We had a discussion call about the role with HR, after which our interview rounds were scheduled.
Application story
I was approached off-campus; I didn’t apply on my own. The HR reached out, and we had a discussion call regarding the role and compensation. Once I expressed my interest, the interview rounds were scheduled.
Why selected/rejected for the role?
Round 2 of the interview did not go well. I was not able to solve the puzzle that was asked. I reached an approximate approach, but a better and more complete solution was expected.
Preparation
Duration: 1 week
Topics: Sorting and searching, DP, graph algorithms, Brainstellar puzzles, and Xinfeng Xou
Tip
Tip

Tip 1: Your ideas should have a mathematical backing.

Tip 2: Think out loud.

Application process
Where: Other
Eligibility: Under 2000 JEE Rank (Salary Package: 35 LPA base, 15 LPA bonus, overall 50 LPA CTC)
Resume Tip
Resume tip

Tip 1: Highlight your achievements.

Tip 2: It is good to have quant-related projects.

Interview rounds

01
Round
Medium
Video Call
Duration60 Minutes
Interview date15 Nov 2025
Coding problem2

One puzzle and one coding problem were asked.

1. Josephus

Moderate
30m average time
70% success
0/80
Asked in companies
Goldman SachsWalmartAmazon

‘N’ people are standing in a circle numbered from ‘1’ to ‘N’ in clockwise order. First, the person numbered 1 will proceed in a clockwise direction and will skip K-1 persons including itself and will kill a Kth person. Now (K+1)th person from 1 will start and will kill the Kth person from itself.

You have to find the position of the last person surviving with respect to initial numbering.

Note:
A person can also kill himself.
Problem approach

Tip 1: Every claim should have mathematical reasoning.
Tip 2: Without sound proofs, your approach is invalid.
Tip 3: Have strong fundamentals.

Try solving now

2. Flip Game II

Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftAmazon

Ninja and his friend are playing a game called flip game. They are given a string ‘STR’ containing only two characters, ‘$’ and ‘*.’

In this game, Ninja and his friend take turns to flip two consecutive “$$” to “**”. The flip game ends when Ninja or his friend can no longer make a move, i.e., there is no consecutive “$$” present in the ‘STR’ and, therefore, the other person will be the winner of the game.

Both the players play the game optimally in alternate turns. Given that Ninja starts the game i.e. takes the first turn, your task is to find out if he wins the game.

For example:
Let 'STR' = "$$**".

There are consecutive "$$" in 'STR' and it is Ninja's turn to begin the game. So, Ninja changes the consecutive "$$" to "**". This changes 'STR' to "****". 

Now, as it is his friend's turn and there are no more consecutive "$$", Ninja wins the game.
Problem approach

I used the standard DP game-theoretic approach for this.

Try solving now
02
Round
Hard
Video Call
Duration60 Minutes
Interview date2 Feb 2026
Coding problem3

I was asked three problems:

  1. A statistics-based question
  2. A simple expectation value problem
  3. A game puzzle

1. Bias Estimation

Let’s say you have a biased coin, but you don’t know the probability p of it landing heads. How would you estimate the value of ppp? I was expected to discuss confidence intervals and variance.

Problem approach

Tip 1: Revise statistics.
 

2. Expected Throws

The expected number of throws required to get two consecutive sixes when using a fair six-sided die.

3. XOR Puzzle

This was a game puzzle.

There are two players on the same team; let’s call them A and B. The host has an 8×8 chessboard with a coin placed on each of the 64 cells. Each coin can show either heads or tails, as decided by the host.

The host shows the chessboard to A and whispers a secret number xxx (from 0 to 63) into A’s ear. Now, A has to help B guess this secret number. The only action A can take is to flip exactly one coin on the board (or choose not to flip any) before showing the board to B.

B must then guess the number by observing the final state of the chessboard. If B guesses correctly, A and B win; otherwise, they lose. They are allowed to strategize before the game begins.

Can they win the game?

Yes, they can.

The solution uses the XOR operation. Number each cell on the chessboard from 0 to 63. A computes the XOR of all indices where the coins show heads.

  • If this XOR value is equal to the secret number xxx, A does nothing and passes the board to B.
  • Otherwise, let the XOR value be ccc. Compute y=c⊕x. A flips the coin at position yyy.

After this operation, when B computes the XOR of all indices showing heads, the result becomes c⊕y=x, allowing B to correctly determine the secret number.

This is the expected solution.

Problem approach

Tip 1: Try multiple approaches and prove why the previous one won’t work before shifting to a new strategy.
Tip 2: Explain all your thoughts clearly.
Tip 3: Solve interactive puzzles.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What does the SQL function NOW() return?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
5184 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
1149 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6775 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3848 views
0 comments
0 upvotes