@psychologyfact2320

Solve the question within 10 minutes just by reading the problem statement. Thanks for your graph concept playlist 🙏🙏🙏

@YashSinghal

I coded myself but my solution ended up just like yours. The same vector and variable names. The same if statement 😂

@bhushanambhore8378

Thanks man! I am definitely checking out your Graph Playlist.

@v4ktech228

"Thanks for this detailed explanation! The step-by-step approach and code breakdown made the concept so much easier to understand. Great job on simplifying complex topics! Looking forward to more such videos!"

@SalmanAnsari-ex1li

🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥 Today's Quote won my heart

@amanpaliwalvlogs6860

Radhe Radhe ❤

@ShubhamShekhar-cm6rs

It can be solved using the indegree concept for detecting cycles in a directed graph.

@DRAGON-in8px

Do i need to complete graph topic before or I can directly watch your playlist

@jeehub041

Find champion 1 bhi kar lia bhaiya ❤

@hare_krishna8411

bhaiya raadhe raadhe..❤

@sauravchandra10

0:15 bana liya khud se, tho not sure if it will be the most optimal.

@aizad786iqbal

i was trying to use arraylist and hashmap in java 
i created adj list first...
and got stuck in bfs...
:( 

bro, in which order should I study the topics, please share again..

@manishgaming4638

My sol

class Solution {
    public int findChampion(int n, int[][] edges) {
      ArrayList<ArrayList<Integer>>graph=new ArrayList<>();
        for(int i=0;i<n;i++){
            graph.add(new ArrayList<>());
                      }
        for(int i[]:edges){
            int u=i[0];
            int v=i[1];
            graph.get(v).add(u);
            }
        int count=0;
        int ans=-1;
        for(int i=0;i<n;i++){
            if(graph.get(i).size()==0){
                count++;
                ans=i;
                }
            }
        return (count==1)?ans:-1;
    }
}