Posts
Data Include Me
Cancel

# Arithmetic Operators (Python 3)

URL : https://www.hackerrank.com/challenges/python-arithmetic-operators/problem Task The provided code stub reads two integers from STDIN, and . Add code to print three lin...

# Alphabet Rangoli (Python 3)

URL : https://www.hackerrank.com/challenges/alphabet-rangoli/problem You are given an integer, N. Your task is to print an alphabet rangoli of size N. (Rangoli is a form of Indian...

# Time Conversion (Python 3)

URL : https://www.hackerrank.com/challenges/time-conversion/problem Given a time in 12-hour AM/PM format, convert it to military (24-hour) time. Note: Midnight is 12:00:00AM on ...

# Staircase (Python 3)

URL : https://www.hackerrank.com/challenges/staircase/problem Consider a staircase of size n = 4: # ## ### #### Observe that its base and height are both equal to n, an...

# Simple Array Sum (Python 3)

URL : https://www.hackerrank.com/challenges/simple-array-sum/problem 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....

# Plus Minus (Python 3)

URL : https://www.hackerrank.com/challenges/plus-minus/problem Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero. Print the decimal value o...

# Mini-Max Sum (Python 3)

URL : https://www.hackerrank.com/challenges/mini-max-sum/problem Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four o...

# Diagonal Difference (Python 3)

URL : https://www.hackerrank.com/challenges/diagonal-difference/problem Given a square matrix, calculate the absolute difference between the sums of its diagonals. For exampl...

# Compare the Triplets (Python 3)

URL : https://www.hackerrank.com/challenges/compare-the-triplets/problem Alice and Bob each created one problem for HackerRank. A reviewer rates the two challenges, awarding points on ...

# Birthday Cake Candles (Python 3)

URL : https://www.hackerrank.com/challenges/birthday-cake-candles/problem You are in charge of the cake for your niece’s birthday and have decided the cake will have one candle fo...