what is the difference between manipulative and non-manipulative algorithms?
Libraries in stl
I was reading stl algorithm library in cpp from gfg, their the methods are divided into manipulative and non -manipulative, so i asked the difference between the two
so basically by manipulative algorithm they mean algorithm that can manipulate ur data (like erase function can erase element from map , array etc).
and by non manipulative algorithm they mean algorithm can not manipute ur data. example (count function it will return count of something but never manipulate ur data stored in ur datastructure).
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.