Q1.Connect Ropes Given a number of ropes say ‘N’ and an array of integers of size ‘N’ containing the length of ropes. Your task is to connect t... read more
Q2.Sum Of LCM You are given an integer ‘N’ , calculate and print the sum of : LCM(1,N) + LCM(2,N) + .. + LCM(N,N) where LCM(i,n) denotes the Le... read more
Q3.Idempotent Matrix Given a N * N matrix and the task is to check matrix is idempotent matrix or not. See the sample input. Idempotent matrix ... read more