Ankit Kanojiya

From Ankit's LinkedIn

PhonePe SDE Interview Questions & Experience (2026)

Role: SDE (Machine Coding + 2 HLD Rounds)

Rounds: Machine coding, DSA, HLD, HM, HLD 2

PhonePe SDE interview questions and process: Machine coding, DSA, HLD, HM and more.

Compensation: 60L + 14 Position: Software Engineer Application Method: Direct Application

Round 1: Maching Coding Round

  • Cricket ScoreBoard Application (commonly found in Leetcode posts)
  • Build a cricket scorecard system that displays the team score and each player's performance.
  • Inputs: Number of players per team, number of overs, and batting order. Ball-by-ball input includes runs (including wides, no balls, or wickets).
  • At the end of every over, print:
  • Individual scores, balls faced, number of 4s and 6s.
  • Total team score, wickets. Implement strike changes, handle extras, and determine the match winner.

Round 2: Data Structures & Problem Solving

  • Find all pairs in an array with a given sum.
  • Find all triplets in an array with a given sum.
  • Check if a binary tree has a duplicate subtree.
  • Given a matrix, a position, and a value k, return the sum of the element at the position and all its neighbors within distance k (including diagonals).

Round 3: High Level Design (HLD) Design an Alert Monitoring System

  • Context: Central system in a microservices environment to manage alerts from different systems.
  • Features to support:
  • SIMPLE_COUNT: Raise alert if event count crosses a threshold.
  • BUCKETED_WINDOW: Count events in fixed buckets (e.g., 10 events in 1-hour bucket).
  • MOVING_WINDOW: Count events in a sliding time window.
  • The system should handle user/system events, trigger alerts based on configuration, and support real-time monitoring.

Round 4: HM Round (Hiring Manager)

  • Discussion Topics: Project experiences. Day-to-day responsibilities,Light behavioral questions.
  • Design Question: Tiny URL system (ran out of time midway).

Round 5: HLD 2

  • Design Stack Overflow-like System
  • Cover user flows, question/answer posting, tagging, voting, reputation system, and content visibility.
  • Performance, scale, and consistency challenges.