• + 1 comment

    If we follow algo given by geeksforgeeks then it doesnt give right answer. Geeks for geeks alfo print according @Faland