Posts
기록
Cancel

URL : https://www.hackerrank.com/challenges/find-a-string/problem In this challenge, the user enters a string and a substring. You have to print the number of times that the subst...

URL : https://www.hackerrank.com/challenges/designer-door-mat/problem Mr. Vincent works in a door mat manufacturing company. One day, he designed a new door mat with the following...

URL : https://www.hackerrank.com/challenges/compress-the-string/problem In this task, we would like for you to appreciate the usefulness of the groupby() function of itertools . T...

URL : https://www.hackerrank.com/challenges/capitalize/problem You are asked to ensure that the first and last names of people begin with a capital letter in their passports. For examp...

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