i have a doubt regarding the Drange problem ,should the out put of each of the test cases be displayed immediately or later on at last after completion of all the test cases ??
Is there a difference in final output ? No. You need additional memory to remember the results, so it’s better to print the results immediately.