# Tag Archives: python

## Find the least number for which Proportion of Neutral Numbers is atleast n/m

Find the least number for which Proportion of Neutral Numbers is at least n/m Increasing, Decreasing & Neutral Numbers An increasing number is a number in which values of digits increase when we go from left to right; for example,123455 . Similarly a decreasing number is a number in which values of digits decrease when… Read More »

## WAP to Print number of not neutral numbers below 10^k mod(10^9+7)

WAP to Print number of not neutral numbers below 10^k mod(10^9+7) An increasing number is a number in which values of digits increase when we go from left to right; for example,123455 . Similarly a decreasing number is a number in which values of digits decrease when we go from left to right; for example,54110… Read More »

## Remainder Quotient Problem – Find all the combinations between n and m

Remainder Quotient – Find all combinations between n & m Andrew and James are best friends and are fond of puzzles. Andrew challenged James to solve a mathematical problem and promised him to pay \$100 if he gives the correct answer. The problem is that James will be given T pairs of (n,m). Now, all… Read More »

## Gangs of Dholakpur – Cumulative Weight Problem

Gangs of Dholakpur-Cumulative Weight Problem In the school of Dholakpur the gang having the greatest number of cumulative weight dominates. Currently Kalia’s gang dominates with cumulative weight M.Since, Kalia’s gang is abusive so, Bheem decides to end this and establish peace in the school. Bheem can only defeat Kalia if the cumulative weight of his… Read More »