— This would work if you used c++ and you put the values in stdin and not arguments
Also we had 3 sorting algorithm 2 search algorithm and 5 data structures Sorting = bubble , selection , insertion Search = binary and linear Ds= que using arrays n link list , circular que and stacks linklist and array
— So i shud use stdin instead of cin
— C++ is different programming language
— Also i heard namespace std usage is a bad habit
— So the one i wrote is cpp right?
— Thats true
— I want to brush up my cpp apart from what i was taught in school