Contains Detailed Overview Solutions in their respective folders Conceptual Usage of Algorithms and their applications view
Array and integers while arthemetic operators check abt constraints if numbers check +ve, -ve, 0 and size_limit for solving problems check the case of Integers values limit, duplicates(check need to avoid or include case) Strings check about the what kind of chars it involved and size, any leading or trailing spaces
If you have devised a method, first observe the base case (or smaller test cases) and check if it works.
Let's take a small example:
Let's take a small example:
Use memset for filling 0 or 1 in an array, and it won't work for any other values you can use fill(begin(a), end(a), any value)