You are viewing a single comment's thread. Return to all comments →
C++ (more at https://github.com/IhorVodko/Hackerrank_solutions , feel free to give a star :) )
int introTutorial( int _num , std::vector<int> const & _arr){ using namespace std; return static_cast<int>(distance( cbegin(_arr), find(cbegin(_arr), cend(_arr), _num) )); }
Seems like cookies are disabled on this browser, please enable them to open this website
Intro to Tutorial Challenges
You are viewing a single comment's thread. Return to all comments →
C++ (more at https://github.com/IhorVodko/Hackerrank_solutions , feel free to give a star :) )