CodeSprintPro
Start HereLearnInterview PrepProjectsBlogAboutNewsletter
Home/Blog/#dag

Tag archive

#dag

Topic-specific entry points for internal linking, discovery, and deeper subject exploration.

2 articles

Back to blog →
DSAAdvanced

Lowest Common Ancestor (LCA) in Java: Binary Trees and DAGs

Introduction to Lowest Common Ancestor (LCA) The Lowest Common Ancestor (LCA) of two nodes p and q in a tree (or a Directed Acyclic Graph - DAG) is the lowest (i.e., deepest) node that has both p and q as descendants. A…

Apr 19, 202612 min read
Deep Dive
#dsa#java#lca
DSAIntermediate

Topological Sort in Java: Handling Dependencies with Kahn's Algorithm

Introduction to Topological Sort Topological Sort (or Topological Ordering) is an algorithm for ordering the vertices of a Directed Acyclic Graph (DAG) such that for every directed edge u -> v, vertex u comes before vert…

Apr 18, 20269 min read
Deep Dive
#dsa#java#topological sort

Related tags

#java#performance#system-design#distributed-systems#scalability#algorithms#dsa#interview preparation#system design#distributed systems
CodeSprintPro

Deep-dive technical content on System Design, DSA, Java, Databases, AI/ML, and AWS — by Sachin Sarawgi.

Quick Links

  • Blog
  • RSS Feed
  • About
  • Portfolio
  • Contact

Categories

  • System Design
  • Java
  • DSA
  • Databases
  • AI/ML
  • AWS
  • Messaging
  • Data Engineering

Contact

  • Email
  • LinkedIn
  • GitHub

© 2026 CodeSprintPro · Sachin Sarawgi. All rights reserved.

Built with Next.js · TailwindCSS · Deployed on GitHub Pages