Mastering Django Middlewares: A Guide to Customizing Request and Response Objects

Introduction We all know that Django is an amazing web framework. It is very easy to use and has a lot of features. One can easily create a web application with Django. But what if you want to add some custom functionality to your application. FLet’s say you want to keep track of every request made to your app, or maybe you want to modify the request before it gets to the view or change the response before it’s sent to the client....

July 17, 2021 · 6 min · Justin Thomas

From Greedy Guesses to Optimal Solutions: Mastering the House Robber Problem

The House Robber problem is a popular problem in the field of Dynamic Programming. You have to find the maximum amount of money that can be stolen from a row of houses, given that no two adjacent houses can be robbed.

January 20, 2021 · 3 min · Justin Thomas