Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,151,343 members, 7,811,993 topics. Date: Monday, 29 April 2024 at 05:26 AM |
Nairaland Forum / Cheghoon01's Profile / Cheghoon01's Posts
(1) (of 1 pages)
Programming / Please What Is This Algorithm That Compares............ by cheghoon01: 1:01pm On Mar 16, 2016 |
For example, if 10 assignments were added to the list, with the name 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 The iteration technique will get data in the following order: Compare: 1 and 2, 1 and 3, 1 and 4, 1 and 5, 1 and 6, 1 and 7, 1 and 8, 1 and 9, 1 and 10 Compare: 2 and 3, 2 and 4, 2 and 5, 2 and 6, 2 and 7, 2 and 8, 2 and 9, 2 and 10 Compare: 3 and 4, 3 and 5, 3 and 6, 3 and 7, 3 and 8, 3 and 9, 3 and 10 Compare: 4 and 5, 4 and 6, 4 and 7, 4 and 8, 4 and 9, 4 and 10 Compare: 5 and 6, 5 and 7, 5 and 8, 5 and 9, 5 and 10 Compare: 6 and 7, 6 and 8, 6 and 9, 6 and 10 Compare: 7 and 8, 7 and 9, 7 and 10 Compare: 8 and 9, 8 and 10 Compare: 9 and 10 |
(1) (of 1 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 5 |