Python
TechJedi > Python
Insertion sort on a sorted array — O(n)
16
May
How insertion sort works? Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time. It works best on a nearly sorted list. It has the following characteristics Stable; i.e., does not change the relative order of elements with equal keys In-place; i.e., only requires a […]
Throttling in Web application: with code — Django app
02
May
What is Throttling? Throttling is a mechanism created in server-side to control the rate of requests that clients can make to an API or web servers. Typically it is done as a defensive mechanism to improve security and performance. Sometimes throttling is also referred to as rate-limiting, in general throttling is a bit broader than […]