**Problem Statement:**
Given the required input arguments, write an efficient algorithm to solve the **Unique Paths** problem. Implement the required logic as specified by standard definitions for this classic algorithmic challenge.
**Hint / Expected Approach:**
dp[i][j] = dp[i-1][j] + dp[i][j-1]
**Edge Cases to Consider:**
- (1) 1×1 grid
- (2) Single row or column
- (3) Very large m×n