Latest from the Blog
Overview In this article we will try to solve one of the problem from HackerRank called Electronic Shop. A person wants to determine the most expensive computer keyboard and USB drive that can be purchased with a give budget. Given price lists for keyboards and USB drives and a budget, find the cost to buyContinue reading “Electronic Shop (Hacker Rank)”
Overview In this article we will write a program to find if the given number is a Self Descriptive Number or not. In mathematics, a self-descriptive number is an integer m that in a given base b is b digits long in which each digit d at position n (the most significant digit being atContinue reading “Self Descriptive Numbers”
Overview In this article we will try to solve one of the problem mentioned in Hacker Rank. The name of the problem is Between Two Sets. There will be two arrays of integers. Determine all integers that satisfy the following two conditions: The elements of the first array are all factors of the integer beingContinue reading “Between Two Sets”
Get new content delivered directly to your inbox.