" 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

LCM code tech mahindra 2022

Sum of largest and smallest element in array by tech mahindra 2022

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