" 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

EV Minimize Array Cost asked in Infosys- march 2022 (available in c++ only)

Chomsky's hierarchy Explanation :

Given an array A, find the size of the smallest subarray asked in MountainBlue, 2022