Peter
Peter Campbell Smith

The weekly challenge

My solutions by week

My solutions by week

'Try it' not working? See note below.

Week 250 - 1 January 2024 - Smallest index, largest element

Task 1 - Smallest index

Task 2 - Alphanumeric string value

Week 249 - 25 December 2023 - Pairs and ups and downs

Task 1 - Equal pairs

Task 2 - DI string match

Week 248 - 18 December 2023 - Closest sum

Task 1 - Shortest distance

Task 2 - Submatrix sum

Week 247 - 11 December 2023 - Santa’s letters

Task 1 - Secret Santa

Task 2 - Most frequent letter pair

Week 246 - 4 December 2023 - Lotteries and sequences

Task 1 - 6 out of 49

Task 2 - Sort language

Week 245 - 27 November 2023 - Popular languages and largest threefold

Task 1 - Sort language

Task 2 - Largest of three

Week 244 - 20 November 2023 - The smallest hero

Task 1 - Count smaller

Task 2 - Group hero

Week 243 - 13 November 2023 - Pairs on the floor

Task 1 - Reverse pairs

Task 2 - Floor sum

Week 242 - 6 November 2023 - Flipping members

Task 1 - Missing members

Task 2 - Flip matrix

Week 241 - 30 October 2023 - Triplets and factors

Task 1 - Arithmetic triplets

Task 2 - Prime order

Week 240 - 23 October 2023 - Initialisms and contorted arrays

Task 1 - Acronym

Task 2 - Build array

Week 239 - 16 October 2023 - Pulling the strings

Task 1 - Same string

Task 2 - Consistent strings

Week 238 - 9 October 2023 - Running persistence

Task 1 - Running sum

Task 2 - Persistence sort

Week 237 - 9 October 2023 - Seize the greatness

Task 1 - Seize the day

Task 2 - Maximise greatness

Week 236 - 25 September 2023 - Change and loops

Task 1 - Exact change

Task 2 - Array loops

Week 235 - 18 September 2023 - Delete and double

Task 1 - Remove one

Task 2 - Duplicate zeroes

Week 234 - 11 September 2023 - Duplicates and triplets

Task 1 - Common characters

Task 2 - Unequal triplets

Week 233 - 4 September 2023 - Similar words and a rather strange ordering

Task 1 - Similar words

Task 2 - Frequency sort

Week 231 - 21 August 2023 - Middle aged and oldies

Task 1 - Min max

Task 2 - Senior citizens

Week 230 - 14 August 2023 - Divide and detect

Task 1 - Separate digits

Task 2 - Count words

Week 229 - 7 August 2023 - Count the unsorted and two thirds is enough

Task 1 - Lexicographically ordered

Task 2 - Two out of three

Week 228 - 31 July 2023 - Add up the singletons and clear out the list

Task 1 - Unique sum

Task 2 - Empty array

Week 227 - 24 July 2023 - Bad luck and mathematica

Task 1 - Friday 13th

Task 2 - Roman maths

Week 226 - 17 July 2023 - Gnirsts and nothing left

Task 1 - Shuffle strings

Task 2 - Zero array

Note: Occasionally older 'try it' buttons don't work, because of later changes to the way this website works. If you let me know (email link) I will (try to) fix them.