|
|
back to boardSmall Hints 1) Try writing an algorithm for finding the minimum difference in a list first (list.sort() method may come in handy) 2) Think of how the usage of sets and lists may assist you in determining whether we have doublets in your list 3) Use counters for finding the number of iterations in your cycle Enjoy :) Edited by author 25.07.2021 21:52 Edited by author 25.07.2021 21:52 |
|
|