So i’m till now hasnt been able to figure out how to make the running time linear. as for the wrongpos. i need always atleast double for loop. can i get some hints as how to make it linear?
You can use the magnifier symbol in the top right to search for topics: