# HackerRank

## Hackerrank String Formatting solution in python | python question solution

Given an integer, , print the following values for each integer  from  to : Decimal Octal Hexadecimal (capitalized) Binary Function Description Complete the print_formatted function in

## HackerRank Set .union() Operation solution in python | python practice problems for beginners with solutions

blog.softwaretechit.comhome.softwaretechit.com In this Set .union() operation problem we need to develop a python program that can read four lines of input and

## HackerRank Company Logo solution in python | python practice problems for beginners with solutions

blog.softwaretechit.comhome.softwaretechit.com In this Company Logo problem, we need to develop a python program that read a string as input and then we

## HackerRank Collections.deque() solution in python | python problem solution

collections.deque() A deque is a double-ended queue. It can be used to add or remove elements from both ends. Deques support thread

## HackerRank Set .discard(), .remove() & .pop() solution in python | python Question Solution

.remove(x) This operation removes element  from the set.If element  does not exist, it raises a KeyError.The .remove(x) operation returns None. Example >>> s = set([1, 2,

## HackerRank Word Order problem solution in Python | python Question solution

You are given  words. Some words may repeat. For each word, output its number of occurrences. The output order should correspond

## HackerRank itertools.combinations_with_replacement() solution in python

itertools.combinations_with_replacement(iterable, r)This tool returns  length subsequences of elements from the input iterable allowing individual elements to be repeated more than once. Combinations

## HackerRank Set .add() problem solution in python | python Question solution

If we want to add a single element to an existing set, we can use the .add() operation.It adds the element to

## HackerRank Incorrect Regex solution in python | python question solution

You are given a string . Your task is to find out whether  is a valid regex or not. Input Format The first