Homepage HackerRank Solution

Latest Posts

itertools.permutations() in Python - HackerRank Solution

Problem Statement : itertools.permutations(iterable[, r]) This tool returns successive r length permutations of elements in an iterable. If ...

Pradyut Pal 12 Nov, 2021

collections.Counter() in Python - Hacker Rank Solution

Problem Statement : collections.Counter() A counter is a container that stores elements as dictionary keys, and their counts are stored as d...

Pradyut Pal 12 Nov, 2021

itertools.product() in Python - HackerRank Solution

Problem Statement : itertools.product() This tool computes the cartesian product of input iterables. It is equivalent to nested for-loops. F...

Pradyut Pal 12 Nov, 2021

Merge the Tools in python - HackerRank Solution

Problem Statement : Consider the following:      1. A string, s, of length  where s=c0,c1.....cn-1.      2. An integer, k, where k is a fact...

Pradyut Pal 12 Nov, 2021

The Minion Game in Python - HackerRank Solution

Problem Statement : Kevin and Stuart want to play the 'The Minion Game'. Game Rules Both players are given the same string, S. Both ...

Pradyut Pal 12 Nov, 2021

Capitalize in Python - HackerRank Solution

Problem Statement : You are asked to ensure that the first and last names of people begin with a capital letter in their passports. For exam...

Pradyut Pal 10 Nov, 2021

Alphabet Rangoli in Python - HackerRank Solution

Problem Statement : You are given an integer, N. Your task is to print an alphabet rangoli of size N. (Rangoli is a form of Indian folk art ...

Pradyut Pal 10 Nov, 2021