
📌 Find Function //For Maps map<int,int>mp; mp.insert({2,3}); mp.insert({1,5}); if(mp.find(2) != mp.end()) cout<<mp.find(2)->second; //Output = 3 else cout<<"Not Found"; mp.find(3)->second //outputs 0, not present. //Time Complexi...
Engineer and Programmer
An engineer pursuing B.Tech from IIT Gandhinagar and interested in Finance, Logic, Mathematics, machine learning, artificial intelligence, computer networks, data structures and algorithms and programming.
Markdown supported · ⌘↵ to post
No responses yet.