GDSC-MITS / Contribute-To-HacktoberFest

Link Tree for all our socials
https://linktr.ee/gdscmits
14 stars 41 forks source link

Missing Number in Array #43

Closed KARTIK-RAINA5802 closed 1 year ago

KARTIK-RAINA5802 commented 1 year ago

Adding a Solution to the missing number problem with description in C++.

Algorithm used: Cyclic Sort

Time Complexity :- O(n) Space Complexity :- O(1)