An e-commerce company is planning to start a new automated order ID generator system asked in wipro feb 2022

 An e-commerce company is planning to start a new automated order ID generator system for book orders. For this purpose, a random string consisting of only digits is fed to the system. From this random number, the order ID is generated as a string which is a concatenation of the sum of digits at the extreme left and extreme right position, then the sum of digits at the second left and second last right position and so on, until there is no digit left for consideration.



Comments

Popular posts from this blog

PERFECT SQUARE asked by MountainBlue

Harry and Porter asked in MountainBlue ,2022

Chomsky's hierarchy Explanation :