JavaScript

JavaScript

Peanut Packing

A man is running a super market and he observes the pattern of customer buying peanuts in packs of 1 kg, 2 kgs, 3 kgs till N kgs. So based on…

Distinct Length Pairs

The program must accept M integers and N integers as the input. The program must form pairs of integers by selecting one integer from M…

Digital 7-Shaped String

Given an input String S, accept the input string S and print the string as shown in the Example Input/ Outputsection. Input Format:The…

Unique String Representations

Given a string S print the number of unique string values that can be formed by rearranging the letters in the string S. Boundary Condition:2…

Tennis Contest

A Tennis contest was scheduled in a college. N number of players registered to participate in this contest. (A player is the winner if he…

Print February Calendar

A specific year Y and the starting day of the year D is given as input. Print the February month calendar for that specific year as shown in…

Pet Store Dogs

There are N dogs in a pet store. The pet store wants to keep the N dogs in cages.There can be two dogs in each cage. A dog can be eitheir…

Subscribe to our Newsletter

Subscribe to our email newsletter to get the latest posts delivered right to your email.
Pure inspiration, zero spam ✨