There are a few HackerRank Challenges posted below. The HackerRank team used to send out weekly challenges by email, and there are a tons of challenges on their site, worth to try, not only for fun. It is a very efficient way to learn coding not only C++ there are many other languages supported by the HackerRank team. These source codes simply for guidance!!
PLEASE DO NOT COPY AND PASTE ONTO HACKERRANK SITE AS A SOLUTION!!
Try to solve them on your own.
– Happy Coding!
You can compile and run these source codes from your favourite terminal using one of the following commands:clang++ example.cpp -Wall -Wextra -std=c++14 or
g++ example.cpp -Wall -Wextra -std=c++14