- Whenever you want to get digits less than n-1 use mod
- While using double pointer approach, if you run into the following problem - there is an if statement to check something and then do i++, and then for j--, but now that you did i++ u don't know whether next i is valid or not and now you the loop needs to run again just to get to the valid i or j; in this case use both i and j = 0 method.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|