At HackerLand University, a passing grade is any grade 40 points or higher on a 100 point scale. Sam is a professor at the university and likes to round each student’s grade according to the following rules:
Showing posts with label Implementation. Show all posts
Showing posts with label Implementation. Show all posts
Sunday, November 18, 2018
Wednesday, March 23, 2016
Sherlock and The Beast - Hacker Rank Solution
Sherlock Holmes suspects his archenemy, Professor
Moriarty, is once again plotting something diabolical. Sherlock's
companion, Dr. Watson, suggests Moriarty may be responsible for MI6's
recent issues with their supercomputer, The Beast.
Angry Professor - Hacker Rank Solution
A Discrete Mathematics professor has a class of N students. Frustrated with their lack of discipline, he decides to cancel class if fewer than K students are present when class starts.
Given the arrival time of each student, determine if the class is canceled.
Given the arrival time of each student, determine if the class is canceled.
Subscribe to:
Posts (Atom)