Explore tweets tagged as #KahnsAlgorithm
@sundaramkatare
Sundaram Katare
4 months
💡 Kahn’s Algorithm steps: 🔶Compute in-degrees of all nodes 🔶Push nodes with in-degree 0 into a queue 🔶Pop from queue, reduce in-degrees of neighbors 🔶Count how many nodes were processed 👉 If count ≠ total nodes → Cycle Detected🔁 #Algorithms #CodingTips #KahnsAlgorithm
0
0
1
@_luckynot
Lucky Negi
2 years
🚀 Day 182 of hashtag#365DaysOfCode with GeeksforGeeks Problem--> Course Schedule Problem Link--> https://t.co/knYevMuy31 #Coding #Algorithm #GraphTheory #KahnsAlgorithm #TopologicalSort #Python #Programming #LearningInProgress
0
0
0
@YojitKataria
yojit kataria
4 months
🚀 Day 113: Topological Sort in a Directed Graph 📊 Today I implemented Topological Sorting using : 🔹 DFS approach #TopologicalSort #GraphAlgorithms #DFS #BFS #KahnsAlgorithm #GFGPractice #geekstreak2025 #100DaysOfCode @geeksforgeeks
0
1
12
@imshubhamsahaa
Shubham Saha
1 year
🚀 Day 29 of the GeeksforGeeks 30 days streak Challenge! 🚀 Solved Alien Dictionary (Hard) using Kahn's Algorithm & Topo Sort on a DAG. TC: O(N + K + E), SC: O(K + E). #geekstreak2024 #geeksforgeeks #kahnsAlgorithm #GraphAlgorithms
0
0
0
@rtlavkush
Kush Kumar
7 months
🔥 Day 144 of my #160gfg #GFG160DayChallenge Problem: Detect Cycle in Directed Graph using Kahn’s Algorithm Approach: Construct graph and track indegrees Time Complexity: O(V + E) #Graph #CycleDetection #TopoSort #KahnsAlgorithm @geeksforgeeks #GFGPractice #gfg160
0
0
12
@rtlavkush
Kush Kumar
7 months
: 🔥 Day 143 of my #160gfg #GFG160DayChallenge Problem: Topological Sort using Kahn’s Algorithm Approach: Build adjacency list and compute indegrees Time Complexity: O(V + E) #Graph #TopoSort #BFS #KahnsAlgorithm @geeksforgeeks #GFGPractice #gfg160
0
0
5
@ChiragSoni23
Chirag soni
3 months
🔥 Day 143: Topological Sort ⏳ 📊 Problem: Given a Directed Acyclic Graph (DAG) with V vertices and a list of edges, return the topological ordering of the graph. #gfg160 #geekstreak2025 @geeksforgeeks @sandeep_jain #dsa #javascript #Graph #DFS #dailypractice #KahnsAlgorithm
1
0
17
@Pushpendra12314
Pushpendra123
1 year
Day 79: October 29, 2024 Today, I learned about Kahn's Algorithm for Topological Sorting, a BFS-based approach for solving dependency resolution problems. #LeetCode #CodingPractice #TopologicalSort #KahnsAlgorithm #BFS
1
0
4
@DhawalMenaria
Dhawal Menaria
3 months
Day 144 of GfG 160 - 160 Days of Problem Solving #gfg160 #GeeksForGeeks #Graph #CycleDetection #KahnsAlgorithm #geekstreak2025
0
0
0
@suyash_kamath
Suyash Kamath 
7 months
Day 92 (April 2, 2025) 🔥 #365DaysOfCode ✅ Solved Course Schedule 🏫using Kahn's Algorithm (Topological Sort) & Cycle Detection 🔄 Staying consistent! 🚀 #GraphTheory #CycleDetection #TopologicalSort #KahnsAlgorithm #DSA #Day92
0
0
2
@suyash_kamath
Suyash Kamath 
7 months
Day 89 (March 30, 2025) 🔥 #365DaysOfCode ✅ Solved Cycle Detection in a Directed Graph 🔄 ✅ Used Topological Sort with BFS (Kahn's Algorithm) to detect cycles 🏗️ Keeping the streak alive! 🔥 #GraphTheory #CycleDetection #TopologicalSort #KahnsAlgorithm #DSA #Day89
0
0
2
@Aman1240915
Aman
7 months
Day 8 of #gfg160 🧠 Mastered Topological Sort on DAGs with Kahn’s Algorithm (BFS style)! Let the nodes fall in line ➡️ #Graph #TopologicalSort #Python #KahnsAlgorithm #DSA #gfgpractice #geekstreak2025 @geeksforgeeks
0
0
1
@ShristiRawat137
Shristi Rawat
4 months
🎯 Today I learned Kahn’s Algorithm – a powerful BFS-based approach for Topological Sorting in DAGs! Helps detect cycles and schedule tasks efficiently. #DSA #GraphTheory #KahnsAlgorithm #TechLearning
0
0
4
@RudrakshUp23368
Rudraksh Upadhyay
3 months
Today I did #Graphs 🧠 ✔️ #KahnsAlgorithm ✔️ #CycleDetection using #BFS — was actually fun! 😄 Also explored #CSS basics — #Margin vs #Padding. Bit confusing but got a decent grasp for now. #100DaysOfCode #WebDev #DSA #CodingJourney #Frontend #TechTwitter #connect
0
1
1