- Modular arithmetic and combinatorics problem involving positional constraints on digits. - Dynamic programming problem focused on string segmentation.
Anonimo
Both problems were given on the LeetCode compiler, where I had to solve them by passing all the test cases. I first explained my initial approach, then discussed possible optimizations, and finally implemented the optimized solution directly on LeetCode.