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

Backend Developer

Thinkhat
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
With 1 year of hands-on experience in MERN and MEAN stack projects, my preparation focused on strengthening both practical skills and core concepts. I had worked on real-time applications involving RESTful APIs, JWT-based authentication, role-based access, MongoDB schema design, and reusable frontend components in React and Angular. I started by reviewing the full development lifecycle of these projects—structuring routes, handling backend logic, and managing frontend state—to better articulate my experience and understand the “why” behind my code. I then revised key web development topics like asynchronous JavaScript, promises, Express middleware, and advanced MongoDB concepts such as aggregation pipelines and indexing. Simultaneously, I refreshed CS fundamentals including DBMS, OOPs, and Operating Systems, which are commonly tested in technical interviews. Additionally, I practiced DSA regularly on platforms like LeetCode to sharpen my problem-solving skills. This blended approach of real-world experience and structured learning gave me both depth and confidence for full-stack development roles.
Preparation
Topics: Node.js, Express.js, REST APIs, JWT, MongoDB (schema design, aggregation, indexing)
Application process
Where: Coding Ninjas Placement Cell
Eligibility: B.Tech (CS/IT), MCA, M.Sc — 2023-2025 graduates

Interview rounds

01
Round
Medium
Online Coding Interview
Duration
Interview date22 May 2025
Coding problem2

1. 3Sum Problem – Find All Triplets That Sum to Zero

Given an integer array nums, return all unique triplets [nums[i], nums[j], nums[k]] such that:

  1. i, j, and k are distinct indices (i != j, i != k, j != k).
  2. The sum of the triplet equals zero: nums[i] + nums[j] + nums[k] == 0.

Input:

  • nums: Array of integers

Output:

  • A list of all unique triplets satisfying the conditions.

Constraints:

  • Each triplet must consist of unique indices.
  • The solution should avoid returning duplicate triplets.
Problem approach

Step 1 : Sort the Array. 

Step 2 : Fix One Number & Use Two Pointers for the Other Two. 

Step 3 : Skip Duplicates and Collect Valid Triplets.

2. Set Matrix Zeroes

Given an m x n integer matrix, if an element is 0, set its entire row and column to 0.

Input:

  • matrix: 2D array of integers with dimensions m x n

Output:

  • The modified matrix after setting rows and columns to 0 wherever a zero is present.

Constraints:

  • Perform the operation in-place if possible.
Problem approach

Step 1 : Mark Rows and Columns to Be Zeroed. 

Step 2 : Zero Out the Marked Rows. 

Step 3 : Zero Out the Marked Columns.

02
Round
Medium
Online Coding Interview
Duration
Interview date29 May 2025
Coding problem2

1. Minimum Dice Rolls to Reach End in Snake and Ladder Game

You are given an n x n integer matrix board labeled from 1 to n² in a Boustrophedon style, starting from the bottom-left (board[n-1][0]) and alternating direction each row. You start on square 1.

Rules of the Game:

  1. In each move, roll a standard six-sided die to choose a destination square next in the range [curr + 1, min(curr + 6, n²)].
  2. If next has a snake or ladder (board[r][c] != -1), move to its destination.
  3. You only follow one snake or ladder per dice roll. If the destination leads to another snake or ladder, do not follow it.
  4. The game ends when you reach square n².

Task:

  • Return the minimum number of dice rolls required to reach square n². Return -1 if it is impossible.

Input:

  • board: n x n integer matrix with -1 for normal squares and a positive integer for snake/ladder destinations

Output:

  • Integer representing the least number of dice rolls to reach the end, or -1 if unreachable

Constraints:

  • Squares 1 and n² are never the start of a snake or ladder.
Problem approach

Step 1 : Flatten the 2D Boustrophedon Board into 1D.

Step 2 : Use BFS to Simulate Dice Rolls. 

Step 3 : Return Result or -1

2. Normalization in DBMS

What is database normalization in DBMS? Describe the various normal forms with examples, and explain why normalization is important.

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
Backend Developer
2 rounds | 2 problems
Interviewed by Thinkhat
79 views
0 comments
0 upvotes
Backend Developer
1 rounds | 1 problems
Interviewed by Thinkhat
60 views
0 comments
0 upvotes
Backend Developer
1 rounds | 1 problems
Interviewed by Thinkhat
54 views
0 comments
0 upvotes