" A company is planning to provide an extra discount to its customers e-commerce planning to give extra discount" asked in wipro

 //"ODD DIGITS IN ORDER ID CODE" asked in wipro

A company is planning to provide an extra discount to its customers. Every order has an order ID associated with it which is a sequence of digits. The discount is calculated as the count of the unique repeating digits in the order ID.


Write an algorithm to find the discount percentile given to the customer.




Comments

Popular posts from this blog

PERFECT SQUARE asked by MountainBlue

Harry and Porter asked in MountainBlue ,2022

Chomsky's hierarchy Explanation :