Posts
기록
Cancel

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...

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...

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 ...

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...

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....

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...

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...

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...

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 ...

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...