Count Ways to Reach a Sum
Asked at Uber · Coding Questions · Difficulty: Medium
Once upon a time in the land of Algorithmlandia, there were two mystical arrays of integers named a and b. These arrays lived peacefully, each filled with unique numbers. The residents of Algorithmlandia often found themselves puzzled by the secrets these arrays held, so they turned to a wise sage who could process their queries and uncover the hidden truths.
Loading the problem…