## Breaking the Records – HackerRank Solutions

Problem : Maria plays college basketball and wants to go pro. Each season she maintains a record of her play. She tabulates the number of times she breaks her season record for most points and least points in a game. Points scored in the first game

## Between Two Sets – HackerRank Solution

Problem : You will be given two arrays of integers and asked to determine all integers that satisfy the following two conditions: The elements of the first array are all factors of the integer being considered The integer being considered is a factor of all elements of the

Microsoft Office 365 includes Microsoft Office, SharePoint Online, Lync Online and Exchange Online combined in a very cloud service that’s always up to this point. Office 365 makes it easier for users to collaborate from anywhere and on any device, with partners inside

## Kangaroo – HackerRank Solution

Problem : You are choreographing a circus show with various animals. For one act, you are given two kangaroos on a number line ready to jump in the positive direction (i.e, toward positive infinity). The first kangaroo starts at location x1 and moves at a rate of v1 meters

## Apple and Orange – HackerRank Solution

Problem : Sam’s house has an apple tree and an orange tree that yield an abundance of fruit. In the diagram below, the red region denotes his house, where s is the start point, and t is the endpoint. The apple tree is to the left of his house, and the orange tree is to

## Grading Students – HackerRank Solution

Problem : HackerLand University has the following grading policy: Every student receives a grade in the inclusive range from 1 to 100. Any grade less than 40 is a failing grade. Sam is a professor at the university and likes to round each student’s grade according to

## Time Conversion – HackerRank Solution

Problem : Given a time in 12-hour AM/PM format, convert it to military (24-hour) time. Note: Midnight is 12:00:00AM on a 12-hour clock, and 00:00:00 on a 24-hour clock. Noon is 12:00:00PM on a 12-hour clock, and 12:00:00 on a 24-hour clock. Function Description : Complete

## Birthday Cake Candles – HackerRank Solution

Problem : You are in charge of the cake for your niece’s birthday and have decided the cake will have one candle for each year of her total age. When she blows out the candles, she’ll only be able to blow out the tallest ones. Your task is to find out how many candles

## Print Pretty – HackerRank Solution

Problem : Your manager gave you a text file with many lines of numbers to format and print. For each row of 3 space-separated doubles, format and print the numbers using the specifications in the Output Format section below. Input Format : The first line

## 2 Ways to Hack WhatsApp

Hack WhatsApp!! Not like cybercrime hacking. Just simple two methods that you can access another WhatsApp account, Why Do You Need to Hack Someone’s WhatsApp? Monitoring the activity of WhatsApp enables you to grasp the reality behind someone. If you’re a parent,

## IOI 2019 – Sky Walking Problem and Solution

The 31st International Olympiad in Informatics was held in Baku, Azerbaijan in 2019. There were two competition days, with 3 tasks given to the competitors on each day. You can see Sky Walking Problem and Solution below. Problem : Solution : Explanation :

## IOI 2019 – Vision Program Problem and Solution

The 31st International Olympiad in Informatics was held in Baku, Azerbaijan in 2019. There were two competition days, with 3 tasks given to the competitors on each day. You can see Vision Program Problem and Solution below. Problem : Solution : Explanation :

## IOI 2019 – Broken Line Problem and Solution

The 31st International Olympiad in Informatics was held in Baku, Azerbaijan in 2019. There were two competition days, with 3 tasks given to the competitors on each day. You can see Broken Line Problem and Solution below. Problem : Solution : Explanation :

## IOI 2019 – Rectangles Problem and Solution

The 31st International Olympiad in Informatics was held in Baku, Azerbaijan in 2019. There were two competition days, with 3 tasks given to the competitors on each day. You can see Rectangles Problem and Solution below. Problem : Solution : Explanation :  497 total

## IOI 2019 – Split the Attractions Problem and Solution

The 31st International Olympiad in Informatics was held in Baku, Azerbaijan in 2019. There were two competition days, with 3 tasks given to the competitors on each day. You can see Split the Attractions Problem and Solution below. Problem : Solution : Explanation :

## IOI 2019 – Arranging Shoes Problem and Solution

The 31st International Olympiad in Informatics was held in Baku, Azerbaijan in 2019. There were two competition days, with 3 tasks given to the competitors on each day. You can see Arranging Shoes Problem and Solution below. Problem : Solution : Explanation :

## Java Loops I – HackerRank Solution

Problem : Objective : In this challenge, we’re going to use loops to help us do some simple math. Task : Given an integer, N, print its first 10 multiples. Each multiple N * i (where 1 <= i <= 10) should be printed on a new line in the form: N x i = result. Input

## Java Output Formatting – HackerRank Solution

Problem : Java’s System.out.printf function can be used to print formatted output. The purpose of this exercise is to test your understanding of formatting output using printf. To get you started, a portion of the solution is provided for you in the