Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Sample Input:

div: 5 6 7 rem: 1 3 2

Sample Output:

51

Explaination: 51 % 5 =1 51 % 6 =3 51 % 7 =2

Time Complexity:O(Product of all elements of div array)

-->Objective of CRT is to find the minimum value A,for which when the values divided by A gives the value present in the rem array.