itertools.product() Hackerrank Python Solution itertools.product() This tool computes the cartesian product of input iterables. It is equivalent to nested for-loops. For example, product(A, B) re…
Merge the Tools! Python Hackerrank solution Problem: Consider the following problem: You are given a string s and an integer k. Split s into n/k subsegments where each subsegment contains k cha…
The Minion Game Python Hackerrank solution Kevin and Stuart want to play the ' The Minion Game '. Game Rules Both players are given the same string,S. Both players have to make substri…
Capitalize! Python Hackerrank solution You are asked to ensure that the first and last names of people begin with a capital letter in their passports. For example, alison heck should be ca…
Ninja And The Second Order Elements CodeStudio Java Solution I can try to write the Ninja And The Second Order Elements problem for you. Here is one possible way to write it: Ninja And The Second Order Elemen…
Alphabet Rangoli Python Hackerrank solution 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 based on creation of patterns.…
String Formatting Python Hackerrank solution Given an integer,n, print the following values for each integer i from 1 to n: Decimal Octal Hexadecimal (capitalized) Binary Function Description Co…