Help to solve this prolem->Subarray LCM

i did not understand how to solve and approach this type of problems

@aayush_7009
can u send the problem link??

Subarray LCM - Problems - CodeChef