GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn data structures by watching them move, then doing it yourself. Press M anytime to toggle sound.

A product of Amypo Technologies, Coimbatore.

Learn

  • Fundamentals & OOPs
  • Data structures and algorithms
  • Aptitude
  • Learning path
  • How it works
  • About dotprep

Practice

  • Practice arena
  • Daily challenge
  • Gamified challenges
  • Race mode
  • Leaderboard

Interview prep

  • Java interview
  • Coding questions
  • Company questions
  • System design
  • Jobs & careers

You

  • Dashboard
  • Settings
  • Pricing
  • Create account

© 2026 dotprep

Content last updated 27 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn · DSA

Graphs

Nodes, edges, paths, and networks.

All categories
  • Play

    Graph representation

    Adjacency list vs matrix

    beginner
  • Play

    Breadth-first search

    Explore level by level

    beginnerO(V + E)
  • Play

    Depth-first search

    Go deep, then backtrack

    beginnerO(V + E)
  • 231 Play

    Dijkstra's algorithm

    Shortest paths, no negative edges

    intermediateO(E log V)
  • −46 Play

    Bellman-Ford

    Shortest paths with negative edges

    intermediateO(VE)
  • k Play

    Floyd-Warshall

    Shortest paths between all pairs

    advancedO(V³)
  • Play

    A* search

    Shortest path with a smart guess

    advanced
  • Play

    Prim's MST

    Grow a tree from one node

    intermediateO(E log V)
  • 123 Play

    Kruskal's MST

    Add the cheapest safe edge

    intermediateO(E log E)
  • Play

    Topological sort

    Order tasks by dependencies

    intermediateO(V + E)
  • Play

    Union-find

    Union by rank, path compression

    intermediate≈ O(1)
  • Play

    Cycle detection

    Find loops in a graph

    intermediate
  • Play

    Bipartite check

    Color the graph with two colors

    intermediate
  • Play

    Strongly connected components

    Kosaraju and Tarjan

    advanced
  • Play

    Bridges and articulation points

    Edges and nodes that hold it together

    advanced
  • Play

    Maximum flow

    Push flow through a network

    advanced
Log inStart free