3600 - 3699
Solutions categorised by Problem IDs
3619 - Count Islands With Total Value Divisible by KCount islands whose cell values sum to a multiple of k by accumulating component totals with iterative depth-first search.3622 - Check Divisibility by Digit Sum and ProductTest whether an integer is divisible by the sum of its digit sum and digit product.3644 - Maximum K to Sort a PermutationFind the largest bitwise AND value that permits sorting a permutation by combining the bits shared by all misplaced values.3665 - Twisted Mirror Path CountCount paths through a grid of turning mirrors by tracking how many paths reach each cell from above and from the left.3693 - Climbing Stairs IIFind the minimum cost to reach the top of the staircase by tracking the cheapest way to reach each of the three possible previous steps.