🔥 Popular | Latest

Best Friend, Friends, and Girls: 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
Beautiful, Boobies, and Crime: nationalshitpostingagency tumbl Follow willoftzeentch-deactivated20160 factfiend Fun fact: According to Greek legend there was a famous prostitute who managed to avoid a death sentence by showing the judges her boobs and arguing that it would be a crime against the Gods to destroy something so beautiful Before you ask, yes there are paintings of this. And yes, they're amazing Read more karlosmadera I love history fyeahteamgents Role models tho we-all-eat-death donzs The gay one suzie-guru No, but this is one of my absolute favorite bits of history! The courtesan named was named Phryne and she was indeed a renowned beauty, and was indeed was put on trial for a capital crime. And yes, the sum of her defense consisted of her stripping in court (helped by her lover/defendant) and asking the jury (all males) if they were prepared to destroy this But this is actually a very interesting case of Values Dissonance - the capital crime she was accused of was blasphemy. In Ancient Greek society, exceptional beauty was a sign of favor from the gods, and they took the idea that beauty indicated goodness with great seriousness. They even called their nobles Kaloi k'Agathoi, "the Beautiful and the Good So by showing off her great physical beauty, Phryne was being very clever indeed, her argument essentially being "How could I possibly commit blasphemy if the gods have given me this body?" God, I adore history nationalshitpostingagency "If these tits are legit, you must acquit." Source:factfiend 705,645 notes I plead not guilty by reason of boobies, your honor.
Save