Append a newline to your shell prompt
The default shell prompt (for Ubuntu 20) looks like this:
| |
The default shell prompt (for Ubuntu 20) looks like this:
| |
Memoization is a part of the standard toolkit for, “things I can use to solve the algorithm question in my next job interview”. Most of the time, I like to use functools.cache for this:
