A few years ago I solved 200 LeetCode problems and still froze on Mediums I hadn't seen. The breakthrough wasn't another hundred problems. It was a different loop. A problem asks for the longest substring with at most K distinct characters. You've solved sliding window before. Maximum sum subarray of size K, done. Longest substring without repeating characters, done. This third one stalls you. Twe
Want to keep Ubuntu updated? Run these commands on your PC via terminal, or create a .sh file and add the following commands: Bash If you don't know how to create the .sh file, no problem! Just navigate to the folder in your terminal and run the following: touch file.sh ----> creates the file nano file.sh -----> opens the file in the terminal Finally, add the previous commands to the file, press C