Sunday, August 2, 2015

HackerRank::C++::Introduction::Functions


HackerRank::C++::Introduction::For Loop


HackerRank::C++::Introduction::Conditional Statements


HackerRank::C++::Introduction::Pointer


HackerRank::C++::Introduction::Basic Data Types


HackerRank::C++::Introduction::Hello, World !

<script src="http://ideone.com/e.js/igEfii" type="text/javascript" ></script>

Thursday, July 30, 2015

HackerRank::Algorithms::Implementation::The Grid Search

  This is surely a pure implementation task since a digit by digit brute force check gets AC, but here the main implementation itself might be a little challenging. Check the source code for a good understanding.



HackerRank::Algorithms::Warmup::Time Conversion

 This is a basic implementation task, we need to add 12 to the hour number if necessary and output the result, be sure to implement carefully , take care of hour == 24 and if you are about to output a single digit as a minute, second or hour output it in format 0[digit] , don't forget the 0.