## Apple and Oranges HackerRank Solution in C, C++, Java, Python

Sam’s house has an apple tree and an orange tree that yield an abundance of fruit. Using the information given below, determine the number of apples and oranges that land …

## Birthday Cake Candles HackerRank Solution in C, C++, Java, Python

You are in charge of the cake for a child’s birthday. You have decided the cake will have one candle for each year of their total age. They will only …

## Mini Max Sum HackerRank Solution in C, C++, Java, Python

Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four of the five integers. Then print the respective minimum and maximum values …

## A Very Big Sum HackerRank Solution in C, C++, Java, Python

Given an array of integers, find the sum of its elements. For example, if the array ar=[1,2,3] ,1+2+3=6, so return 6 . Function Description  Complete the simpleArraySum function in the …

## Compare the Triplet HackerRank Solution in C, C++, Java, Python

Alice and Bob each created one problem for HackerRank. A reviewer rates the two challenges, awarding points on a scale from 1 to 100 for three categories: problem clarity, originality, …

## Kangaroo HackerRank Solution in C/C++/Java/Python

In HackerRank Challenges, the number line jumps problem states the location of starting point of two kangaroos on the number line (x1 & x2). Both Kangaroos have their own jump …

## diagonal difference hackerrank solution

In the diagonal difference challenge of hackerrank, the user is provided a square matrix of N*N size and the challenge is to calculate the absolute difference between the left to …