Frontend School
FAANG PrepQuestionsPricingSuccess StoriesCommunitySupport
FAANG PrepQuestionsPricingSuccess StoriesCommunitySupport
Frontend School

AI Frontend Interview Simulator for FAANG and product companies.

Support: admin@frontendschool.in

Resources

FAANG Prep GuideInterview QuestionsSuccess Stories

Practice

React Interview QuestionsJavaScript Interview QuestionsMachine Coding RoundFrontend System Design

Product

ProblemsLearnCompaniesTopicsBuy CreditsReferral Program
CommunityPrivacyTermsRefund PolicySupport
  1. Home
  2. Topics
  3. Graphs

DSA

Graphs Interview Questions for Frontend Engineers

68 data structures and algorithms questions, the kind asked in frontend coding rounds on graphs, ordered easy to hard. Solve each one in a live IDE and get rubric-based AI feedback.

68
Problems
23
Easy
35
Medium
10
Hard
Free lessonGraphs: Representation & Traversals

Easy graphs problems (23)

See all 23
easyDSA

Ad Network Connectivity Check

GraphShortest PathBFS
InMobi
Solve this problem →
easyDSA

API Endpoint Reachability Check

GraphBFSDFS
Postman
Solve this problem →
easyDSA

Bigbasket Item Preparation Sequence

GraphTopological Sort
BigBasket
Solve this problem →
easyDSA

Bot Communication Network Reachability

GraphBFSDFS
Zerodha
Solve this problem →
easyDSA

Calculate Total Itinerary Segments

RecursionArraysDepth-First Search
ixigo
Solve this problem →
easyDSA

Calculate Total Value of Deepest Product Categories

TreeBinary TreeDepth-First Search
Meesho
Solve this problem →
easyDSA

Count Nodes in BST within Range

TreeBinary Search TreeDFS
upGrad
Solve this problem →
easyDSA

Delivery Zone Hop Count

GraphBreadth-First SearchShortest Path
Zomato
Solve this problem →
easyDSA

Friendship Network Reach

GraphBFSDFS
ShareChat
Solve this problem →
easyDSA

Minimum Hops in a Server Network

GraphBFSShortest Path
Zoho
Solve this problem →
easyDSA

Minimum Hops in a Server Network

GraphBFSShortest Path
BrowserStack
Solve this problem →
easyDSA

Minimum Hops in Payment Network

GraphShortest PathBFS
Razorpay
Solve this problem →

More easy graphs problems

  • Myntra Delivery Route
  • Range Sum of BST
  • Retrieve All Descendant Categories
  • Shortest Path in a Binary Grid
  • Shortest Route to Charging Station
  • Shortest Service Path
  • Sum of Even-Valued Nodes
  • Sum of Greater or Equal Nodes in BST
  • Sum of Leaf Nodes in a Binary Tree
  • Sum of Products in Category Tree
  • Task Dependency Resolver

Medium graphs problems (35)

See all 35
mediumDSA

Bigbasket Delivery Zone Analysis

GraphBFSDFS
BigBasket
Solve this problem →
mediumDSA

Conditional Travel Package Value

TreeTraversalBinary Tree
MakeMyTrip
Solve this problem →
mediumDSA

Count Dominant Nodes in a Binary Tree

TreeDFSBinary Tree
Postman
Solve this problem →
mediumDSA

Count Enclosed Land Cells

MatrixDFSBFS
General
Solve this problem →
mediumDSA

Dependent Payment Operations

GraphTopological SortBFS
Stripe
Solve this problem →
mediumDSA

Deployment Sequence Planner

GraphTopological SortDirected Acyclic Graph
Tesla
Solve this problem →
mediumDSA

Diverse Product Bundle Recommendation

GraphBFSDFS
Nykaa
Solve this problem →
mediumDSA

Fastest Route with Priority Lanes

GraphShortest PathDijkstra
upGrad
Solve this problem →
mediumDSA

Find Target Sum in BST

TreeBinary Search TreeDFS
CRED
Solve this problem →
mediumDSA

Flatten Nested List with Alternating Sign

RecursionDepth-First SearchArrays
InMobi
Solve this problem →
mediumDSA

Generate Valid Tweet Topic Sequences

RecursionBacktrackingGraph
X (Twitter)
Solve this problem →
mediumDSA

High-Value Transaction Zones

MatrixBFSDFS
Stripe
Solve this problem →

More medium graphs problems

  • K Closest Values in a Binary Search Tree
  • Longest Even-Valued Path to Leaf
  • Max Adjusted Path Cost in Binary Tree
  • Max Reachable Delivery Points
  • Maximize Network Component Strength
  • Maximum Average Subtree Demand
  • Maximum Visible Inventory Path Sum
  • Metadata Deployment Order
  • Microservice Deployment Order
  • Minimize Max Risk Path
  • Minimum Cost to Navigate Factory Floor
  • Myntra Delivery: Optimal Route with Fuel Constraints
  • Optimal Asset Conversion Path
  • Project Task Scheduling
  • Reliable Fund Transfer Path
  • Safe Passage Through Minefield
  • Sibling Sum Path
  • Special Island Perimeters
  • Sum of Depths of Nodes with Even Values
  • Sum of Grandchildren of Even-ID Campaigns
  • Swiggy Menu Price Eligibility
  • Transform BST to Greater Sum Tree
  • Warehouse Package Scheduling

Hard graphs problems (10)

hardDSA

Count Restricted Path Sums in Binary Tree

RecursionBinary TreeDepth-First Search
General
Solve this problem →
hardDSA

Curated Production Pipeline

GraphTopological SortKahn's Algorithm
Spotify
Solve this problem →
hardDSA

Lexicographically Smallest Path in a Grid with Restricted Character Usage

BacktrackingGridString
Amazon
Solve this problem →
hardDSA

Max Stable Path Sum in a Binary Tree

TreeDFSRecursion
Urban Company
Solve this problem →
hardDSA

Minimum Initial Network Clearance

GraphDijkstraBinary Search
General
Solve this problem →
hardDSA

Optimal Delivery Route with Fuel Constraints

GraphShortest PathDijkstra
Paytm
Solve this problem →
hardDSA

Optimal Flight Connection

GraphBFSShortest Path
ixigo
Solve this problem →
hardDSA

Oyo Key Property Collection

GraphDijkstraState Space Search
OYO
Solve this problem →
hardDSA

Prerequisite-Aware Delivery Route

GraphDijkstraBFS
Flipkart
Solve this problem →
hardDSA

Smallest Strictly Bounded Subtree in a BST

TreeBinary Search TreeRecursion
General
Solve this problem →

Companies that practice graphs

  • InMobi3
  • Postman3
  • ixigo3
  • Flipkart3
  • BigBasket2
  • Zerodha2
  • Meesho2
  • upGrad2
  • ShareChat2
  • Myntra2
  • Urban Company2
  • Livspace2

Get good at graphs

Solve problems in a live IDE, get scored on a rubric, and see exactly what to improve.

Start Practicing FreeBrowse all problems