Today I completed this playlist that i started 2 days back and I can't believe that seems to me very hard earlier is now feels to me like a normal hello world program and after I completed your BFS video starting from 1 video of playlist, after BFS i done all the question by myself without playing your video first ....Thanks alot May god bless you and wish this channel will be counted under the best education channels especially for CS engineers in upcoming 3 years.
@HelloWorldbyprince2 жыл бұрын
Thanks udit bhai ...such a great motivation for me
@ankitaaaaaaa255 ай бұрын
Thank you so much, I was really scared to solve graph problems earlier, but now I am able to understand it and also solve them by myself.
@ayushhh22572 жыл бұрын
Bhiya aap bhot shi tareeke se samjhate ho👍👍
@HelloWorldbyprince2 жыл бұрын
😊😊 bass share karo do channel
@oqant04242 жыл бұрын
yes bhaiya maine ek ek function ko chaala chala ke dekha....literally clear ho gaya sab
@HelloWorldbyprince2 жыл бұрын
waoo yaar aap sach me bhut hard working ho
@oqant04242 жыл бұрын
@@HelloWorldbyprince thank u so much bhaiya
@rode_atharva6 ай бұрын
bhai sach me easy bana diya yaar tumne
@tusharnain66522 жыл бұрын
The Best Graph Series, ❣️
@HelloWorldbyprince2 жыл бұрын
Thanks bhai
@gokulnaathb26278 ай бұрын
Thank you bhaiya, nice explanation
@shivanshsharma3992 жыл бұрын
you are making really great videos bro 👏👏
@HelloWorldbyprince2 жыл бұрын
Thanks a lot shivansh 🤩
@akshittomar24012 жыл бұрын
Brother Question of LeetCode #207 Course Schedule , belongs to the concept of detecting a cycle in Directed Graph we can't do it using Non-Directed Graph .
@LOVE-kf9xi Жыл бұрын
wahi toh , mai chutiya zabardasti dekh rha hu galti kaha hai .
@pranavkorhale50892 жыл бұрын
//my logic instead of tracking parent I use hashset to save the visited edge //if vertex is already visited but edge to that vertex not in hashiset then graph contains cycle //for more idea JAVA Code class Solution { // Function to detect cycle in an undirected graph. public boolean ans = false; public boolean isCycle(int V, ArrayList adj) { ans = false; HashSet hs = new HashSet(); boolean []visited = new boolean[V]; for(int i=0;i
@HelloWorldbyprince2 жыл бұрын
Yeah u can do this as well nice 👍
@Thescienceworld6522 жыл бұрын
balle balle ho gya 😁😁
@HelloWorldbyprince2 жыл бұрын
Wahhh yaar good job
@ankitkumarsingh83462 жыл бұрын
Brilliant explanation
@HelloWorldbyprince2 жыл бұрын
Glad you think so!
@palashmalu6278 Жыл бұрын
sir aap best ho !! also cp wala course enough hai ti get stated ??
@amanpandey45502 жыл бұрын
Cpp Code - bool DFS(vector adj[], vector&vis, int source, int parent){ vis[source]=true; for(int x : adj[source]){ if(vis[x]==false){ if(DFS(adj,vis,x,source)) return true; } else if(x!=parent) return true; } return false; } bool isCycle(int v, vector adj[]) { // Code here vector vis(v+1,false); for(int i=0; i
@HelloWorldbyprince2 жыл бұрын
Amazing yaar , keep learning
@easylearning6647 Жыл бұрын
thank you for your efforts
@HelloWorldbyprince Жыл бұрын
It's my pleasure
@yourshawonn Жыл бұрын
Sir please upload krushkal algorithm class
@HelloWorldbyprince Жыл бұрын
sure i will
@goyaldeekshant2 жыл бұрын
not able to do that course schedule leetcode problem:
@VaibhavSutar-xm3cn6 ай бұрын
class Solution { // Function to detect cycle in an undirected graph. dfs(current,parent,visited,adj,map){ if(visited[current] && map[parent] !== current) return 1 visited[current] =true let adjacent = adj[current] if(adjacent){ for(let i=0;i
@compc_59_manishyadav772 жыл бұрын
I want to know where is parent updating , like initially we have assigned -1 as parent , so are we upadating it some where , nahi to it will keep parents as -1, if I am wrong please do correct me @ anyone!!!
@HelloWorldbyprince2 жыл бұрын
yes u r on the right way of learning bus please ek baar code ko dry run karke dekho sach me mazaa aa jayega kissi v ek example ko aache se copy pen me write down kijiye
@PIYUSH-lz1zq2 жыл бұрын
👌weighted graph ke kuch karva do
@HelloWorldbyprince2 жыл бұрын
Okay weighted graph ka v video banaa denge
@adityanjr2 жыл бұрын
course schedule uses concept of cycle detection in Directed Graph...
@HelloWorldbyprince2 жыл бұрын
Yo bro
@VaibhavSutar-xm3cn6 ай бұрын
at 5.55 krte he hum solve bhai wait
@knowsbetter4113 Жыл бұрын
❤
@HelloWorldbyprince Жыл бұрын
👏 Thanks a ton
@oqant04242 жыл бұрын
at #4:09 i had also the same thought process.....i analysed on my own why it will be wrong....but i couldn't come up with solution