What's wrong in my solution?

Revision en1, by MahaRathi, 2023-11-20 00:36:04

233499955 What is wrong with my submission I am storing smaller divisible indexes of 2 like if array x is 6,4,2,5,7,1 and biggest power of 2 in array a is 4 then i am storing 4,2,1 and then dividing it one by one in o(30n) worst complexity? please help I have read the editorial.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English MahaRathi 2023-11-20 00:36:04 325 Initial revision (published)