ReciHub / FunnyAlgorithms

A repository with a bunch of funny algorithms, beginners friendly
Creative Commons Zero v1.0 Universal
453 stars 706 forks source link

Added a famous STACK question - Celebrity Problem using C++ #1289

Open mugdhaK21 opened 1 year ago

mugdhaK21 commented 1 year ago

Hey, this is Mugdha. I have added a code for the famous stack's problem which is Celebrity Problem using C++. Provided 2 solutions, brute force and optimized approach. Thankyou and Happy Coding!