🔥 Popular | Latest

Graph Theory can Save Relationships: 11:50 Add Question Q Quora Notifs Home Open Qs More FRitam Chatterjee upvoted this 19 Nov I like girl A. We are very good friends. A's best friend B likes me. Also, A likes a guy C who is my best bro and C likes another girl D who is in a relationship with another guy. What should we do? Priyanka Dhaka 10.7k upvotes by Ritam Chatterjee, Mukesh Sharma, (more) You can apply Bipartite Matching algorithm of Graph Theory. All you have to do is: 1. Put all girls as vertices (a's) in Part A, and boys as vertices (b's) in Part B. 2. Draw an edge between vertex a to vertex b if a likes b. 3. It will be a bipartite graph (there are no edges within vertices of Part A, and same for Part B) unless your friends are not straight. 4. Then find maximum matching for this bipartite graph. (refer this link Maximum Bipartite Matching-GeeksforGeeks) 5. You will get maximum matching as output and the matched edges will be the pairs who should be together. 6. You can apply weighted bipartite matching algorithm if you know how much they love/like each other. In that case, assign weights according to their amount of love. and repeat step 4 and 5. Thanks for asking this question. Finally I have found a real life problem which can be solved by what Prof Panda has been teaching us for 2-3 years. P.S.I can provide you code for both weighted and unweighted maximum bipartite matching which I made for my project. Updated 28 Jul. Graph Theory can Save Relationships

Graph Theory can Save Relationships

Save
When you are love guru but also a programmer: I lke giri A. We are very good triends. A's best friend B likes me. Also, A likes a guy C who is my best bro and C likes another girl D who is in a relationship with another guy. What should we do Priyanka Dhaka 14.4k upvotes by Diksha Bijlani, Sandhya Ramesh, Mukesh Sharma, (more) You can apply Bipartite Matching algorithm of Graph Theory. All you have to do is: 1. Put all girls as vertices (a's) in Part A, and boys as vertices (b's) in Part B. 2. Draw an edge between vertex a to vertex b if a likes b. 3. It will be a bipartite graph (there are no edges within vertices of Part A, and same for Part B) unless your friends are not straight. Maximum Bipartite Matching-GeeksforGeeks the pairs who should be together. much they loe/like each other. In that case, assign weights according to 4. Then find maximum matching for this bipartite graph. (refer this link 5. You will get maximum matching as output and the matched edges will be 6. You can apply weighted bipartite matching algorithm if you know how their amount of love. and repeat step 4 and5 Thanks for asking this question. Finally I have found a real life problem which can be solved by what Prof Panda has been teaching us for 2-3years. P.S. I can provide you code for both weighted and unweighted maximum LIndatad 28 Iul 201 bipartite matching which I made for my project Upvoted 14.4k Downvote Comments 149+ Share 54 When you are love guru but also a programmer

When you are love guru but also a programmer

Save
Kerry Washington Lands No. 7 on Forbes Highest Paid Actresses List - blogged by @MsJennyb ⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀ Forbes has finally released the list top ten paid actresses on television, featuring some of television’s favorites from Quantico’s Priyanka Chopra ($10M) and Law and Order SUV’s Mariska Hargitay ($12.5M) to Grey’s Anatomy’s Ellen Pompeo ($13M) and Modern Family’s SofiaVergara, who landed the No. 1 spot with $41.5 million. ⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀ Among the top 10 talents was none other than Scandal’s KerryWashington, landing the No. 7 spot for her role on the ABC Shondaland show. After collecting salary numbers from the past year, Washington reportedly brought in a whopping $11 million. ⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀ “I just want to say that sometimes, we have been told a false narrative as women, often, that there is only room for one of us in the room,” Washington recently said at the 5th Annual Women Making History Award, highlighting the increase of female lead roles. “And it’s part of how they keep us small. Part of the culture of Shondaland is to shatter that illusion and I learned that on day one when I met Shonda [ SHondaRhimes]. And that culture has extended to all of the women in that land. We don’t hold back from our sisters.”: Kerry Washington Lands No. 7 on Forbes Highest Paid Actresses List @balleralert Kerry Washington Lands No. 7 on Forbes Highest Paid Actresses List - blogged by @MsJennyb ⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀ Forbes has finally released the list top ten paid actresses on television, featuring some of television’s favorites from Quantico’s Priyanka Chopra ($10M) and Law and Order SUV’s Mariska Hargitay ($12.5M) to Grey’s Anatomy’s Ellen Pompeo ($13M) and Modern Family’s SofiaVergara, who landed the No. 1 spot with $41.5 million. ⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀ Among the top 10 talents was none other than Scandal’s KerryWashington, landing the No. 7 spot for her role on the ABC Shondaland show. After collecting salary numbers from the past year, Washington reportedly brought in a whopping $11 million. ⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀ “I just want to say that sometimes, we have been told a false narrative as women, often, that there is only room for one of us in the room,” Washington recently said at the 5th Annual Women Making History Award, highlighting the increase of female lead roles. “And it’s part of how they keep us small. Part of the culture of Shondaland is to shatter that illusion and I learned that on day one when I met Shonda [ SHondaRhimes]. And that culture has extended to all of the women in that land. We don’t hold back from our sisters.”

Kerry Washington Lands No. 7 on Forbes Highest Paid Actresses List - blogged by @MsJennyb ⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀ Forbes has finally released the...

Save
✎✐✎ ↯ ⇢ I made a few new scenes last night in a rush so here's an eh Romione one :') ↯ ⇢ I've been binge watching House Of Cards so much and ignoring my homework that's overdue from the holidays lmao ↯ ⇢ Follow the tagged account if you like Fantastic Beasts! They're featured for the week, and if you want to be featured for a week then simply tag your posts to the hashtag 💓 ✎✐✎ Birthday(s) Of The Day 👇🏼🎂🎉 ⇢ Wish Priyanka a very happy birthday in the comments please! ✎✐✎ My Other Accounts: ⇢ @TheWizardWeekly - [ account for blended-video-aesthetic edits ] ⇢ @MarvelsWomen - [ co-owned Marvel account ] ⇢ @HPTexts - [ co-owned Harry Potter text messages account ] ⇢ @LumosTutorials - [ co-owned instagram tutorial account ] ✎✐✎ QOTD : Would you rather meet Rupert Grint or Ed Sheeran? AOTD : Ed Sheeran omg: I never loved vou otterweekly I left you the moment I saw Lavender. potterweekly ✎✐✎ ↯ ⇢ I made a few new scenes last night in a rush so here's an eh Romione one :') ↯ ⇢ I've been binge watching House Of Cards so much and ignoring my homework that's overdue from the holidays lmao ↯ ⇢ Follow the tagged account if you like Fantastic Beasts! They're featured for the week, and if you want to be featured for a week then simply tag your posts to the hashtag 💓 ✎✐✎ Birthday(s) Of The Day 👇🏼🎂🎉 ⇢ Wish Priyanka a very happy birthday in the comments please! ✎✐✎ My Other Accounts: ⇢ @TheWizardWeekly - [ account for blended-video-aesthetic edits ] ⇢ @MarvelsWomen - [ co-owned Marvel account ] ⇢ @HPTexts - [ co-owned Harry Potter text messages account ] ⇢ @LumosTutorials - [ co-owned instagram tutorial account ] ✎✐✎ QOTD : Would you rather meet Rupert Grint or Ed Sheeran? AOTD : Ed Sheeran omg

✎✐✎ ↯ ⇢ I made a few new scenes last night in a rush so here's an eh Romione one :') ↯ ⇢ I've been binge watching House Of Cards so much...

Save
Pemandangan ini diperlihatkan Priyanka Chopra ketika menginjakkan kaki di New York City, Amerika Serikat. Menikmati musim panas, Priyanka Chopra terlihat mengenakan pakaian warna-warni yang membuatnya terlihat meriah, diwartakan DailymailModel. Priyanka mengenakan celana panjang dan kemeja, membuatnya seperti memakai piyama. . "Baju Priyanka Chopra sangat aneh. Mengapa dia bisa percaya diri tampil dengan pakaian seperti ini? Ia tampak seperti badut yang akan menghibur orang banyak." tulis penguna salah seorang netizen ditwitter mengomentari penampilan Priyanka. . Seperti diketahui, Priyanka Chopra sukses mengembangkan sayapnya ke industri hiburan Hollywood. Serial Quantico yang dibintangi Priyanka Chopra, membuatnya dibuat season 2. . Selain itu, Priyanka Chopra mendapatkan kesempatan menjadi pembawa acara di Oscar 2016. Selama sibuk dengan kegiatannya di Hollywood, Priyanka Chopra meninggalkan kampung halamannya, India. infia infiashowbiz priyankachopra fashion: infia showbiz Mengenakan pakainarn warna-warni, aktris cantik asal India Priyanka Chopra dicibir netizen yang melihatnya. Para netizen me- nilai bintang film Baywatch '2017' itu tampak seperti seperti seorang badut sirkus yang ingin menghibur banyak orang. selebriti Foto dailymail.com Pemandangan ini diperlihatkan Priyanka Chopra ketika menginjakkan kaki di New York City, Amerika Serikat. Menikmati musim panas, Priyanka Chopra terlihat mengenakan pakaian warna-warni yang membuatnya terlihat meriah, diwartakan DailymailModel. Priyanka mengenakan celana panjang dan kemeja, membuatnya seperti memakai piyama. . "Baju Priyanka Chopra sangat aneh. Mengapa dia bisa percaya diri tampil dengan pakaian seperti ini? Ia tampak seperti badut yang akan menghibur orang banyak." tulis penguna salah seorang netizen ditwitter mengomentari penampilan Priyanka. . Seperti diketahui, Priyanka Chopra sukses mengembangkan sayapnya ke industri hiburan Hollywood. Serial Quantico yang dibintangi Priyanka Chopra, membuatnya dibuat season 2. . Selain itu, Priyanka Chopra mendapatkan kesempatan menjadi pembawa acara di Oscar 2016. Selama sibuk dengan kegiatannya di Hollywood, Priyanka Chopra meninggalkan kampung halamannya, India. infia infiashowbiz priyankachopra fashion

Pemandangan ini diperlihatkan Priyanka Chopra ketika menginjakkan kaki di New York City, Amerika Serikat. Menikmati musim panas, Priyanka...

Save