Category: C++

09
Jan
2020

Hackerrank Between Two Sets (C++)

C++ : Explanation: Ok, this one is a nice little challenge on divisors and factors. First, find the largest number in vector a and smallest number in vector b. Next, set the (temporary)...

08
Jan
2020

Hackerrank Kangaroo (C++)

C++ : Explanation: Make jumps (the number of max times the kangaroos can jump) an arbitrarily large number (such as 100,000 as above), then in the while loop, check if starting distance of...