Below is a wrong way to make the simple logic, look complex one.
If you are planning to make your simple implementation, as a complex one then only do such wrong way of coding.
If you are planning to make your simple implementation, as a complex one then only do such wrong way of coding.
300. Longest Increasing Subsequence