- LeetCode 8 – String to Integer (atoi)
Almost no algorithm — a specification-reading exercise dressed as a coding problem, asked because sloppy engineers write parsers that eat production data. The rule that catches people is that atoi clamps to INT_MIN/INT_MAX where Reverse Integer returns zero. Four ordered steps, overflow detected before it happens, and the two Python traps: str.isdigit() and unbounded integers.
- Flask – Interview Questions
Introduction If you are preparing for a Python web developer interview, Flask is one of the most commonly tested frameworks. Whether the role involves building microservices, REST APIs, or full web applications, interviewers expect you to demonstrate not just familiarity with Flask’s API, but a…
- Flask – Deployment
Introduction You have built a Flask application. It handles routes, talks to a database, renders templates, and works perfectly on your laptop. Now comes the part that separates hobby projects from production software: deployment. Deployment is the process of taking your application from a…
- Flask – Testing
Introduction Code that is not tested is broken code. You might not know it yet, but it is broken. It works today because you just wrote it and manually clicked through every page. It will break tomorrow when your colleague changes a utility function, when a dependency updates, or when a customer…
- Flask – Authentication & Authorization
Introduction Every web application that handles user data needs authentication and authorization. Authentication answers the question “Who are you?” while authorization answers “What are you allowed to do?” Getting these wrong can expose user data, enable account takeovers, and destroy user trust.…