Python Forum
How to collect all integers with minimum number of rounds?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to collect all integers with minimum number of rounds?
#7
From description, you would simply collect the two lowest numbers (the minimums in the range). Why swap? What are the restrictions on collecting numbers (if you are to "collect numbers from ascending order" why not just remove the two lowest numbers from the list)? From what was described, I don't see a reason for recursion.
Reply


Messages In This Thread
RE: How to collect all integers with minimum number of rounds? - by jefsummers - Jun-11-2019, 08:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Program that allows to accept only 10 integers but loops if an odd number was entered gachicardo 4 3,635 Feb-24-2022, 10:40 AM
Last Post: perfringo
  finding the minimum value out of a set of inputs kannan 1 5,311 Oct-30-2018, 01:52 PM
Last Post: ichabod801
  Storing Minimum List of values from a recursive function sigsegv22 1 2,546 Sep-10-2018, 01:25 PM
Last Post: ichabod801
  maximum and minimum element from the list and return output in dict MeeranRizvi 1 3,749 Jan-02-2017, 02:12 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020