• + 0 comments

    C++ (more at https://github.com/IhorVodko/Hackerrank_solutions, feel free to give a star :) )

    std::string pokerNim(
            int _additionsLimit
        ,   std::vector<int> _chips
    ){
        auto binSum = 0;
        for(auto const & size : _chips){
            binSum ^= size;
        }
        return binSum ? "First" : "Second";
    }