Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arr = [4504, 1520, 5857, 4094, 4157, 3902, 822, 6643, 2422, 7288, 8245, 9948, 2822, 1784, 7802, 3142, 9739, 5629, 5413, 7232]
- n = 20 = len(arr)
- k = 5
- Case 1
- =============================================
- arr = [6327, 571, 6599, 479, 7897, 9322, 4518, 571, 6677, 7432, 815, 6920, 4329, 4104, 7775, 5708, 7991, 5802, 8619, 6053, 7539, 7454, 9000, 3267, 6343, 7165, 4095, 439, 5621, 4095, 153, 1948, 1018, 6752, 8779, 5267, 2426, 9649, 2190, 9103, 7081, 3006, 2376, 7762, 3462, 151, 3471, 1453, 2305, 8442]
- n = 50 = (len(arr))
- k = 8
- Case 2
- =================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement