ReciHub / FunnyAlgorithms

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

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

Open mugdhaK21 opened 10 months ago

mugdhaK21 commented 10 months 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!