While setting up Apache Airflow using Docker on Windows 11 WSL, I needed to extend the image to install some python packages. I created a dockerfile and requirements.txt, but every time I ran "docker-compose up --build", I received the error: ERROR: Invalid requirement: '<package-name': Expected semicolon (after name with no version specifier) or end To fix the error, I needed to change the encod
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