Posts
기록
Cancel

# Merge the Tools (Python 3)

URL : https://www.hackerrank.com/challenges/merge-the-tools/problem Consider the following: A string, s, of length n where s = c0c1…cn-1 An integer, k, where k i...

# Loops (Python 3)

URL : https://www.hackerrank.com/challenges/python-loops/problem Task The provided code stub reads and integer, n, from STDIN. For all non-negative integers i < n, print ...

# List Comprehensions (Python 3)

URL : https://www.hackerrank.com/challenges/list-comprehensions/problem Let’s learn about list comprehensions! You are given three integers x, y and z representing the dimensions of a cuboid a...

# Itertools.product() (Python 3)

URL : https://www.hackerrank.com/challenges/itertools-product/problem This tool computes the cartesian product of input iterables. It is equivalent to nested for-loops. For example, p...

# Itertools.permutations() (Python 3)

URL : https://www.hackerrank.com/challenges/itertools-permutations/problem This tool returns successive r length permutations of elements in an iterable. If r is not specified or is ...

# Itertools.combinations() (Python 3)

URL : https://www.hackerrank.com/challenges/itertools-combinations/problem This tool returns the length subsequences of elements from the input iterable. Combinations are emitted in...

# Iterables and Iterators (Python 3)

URL : https://www.hackerrank.com/challenges/iterables-and-iterators/problem The itertools module standardizes a core set of fast, memory efficient tools that are useful by themsel...

# Introduction to Sets (Python 3)

URL : https://www.hackerrank.com/challenges/py-introduction-to-sets/problem Task Now, let’s use our knowledge of sets and help Mickey. Ms. Gabriel Williams is a botany...

# Finding the percentage (Python 3)

URL : https://www.hackerrank.com/challenges/finding-the-percentage/problem The provided code stub will read in a dictionary containing key/value pairs of name:[marks] for a list o...

# Find the Runner-Up (Python 3)

URL : https://www.hackerrank.com/challenges/find-second-maximum-number-in-a-list/problem Given the participants’ score sheet for your University Sports Day, you are required to fi...