OPOm Pawaskarincuriousindian958.hashnode.dev·Jul 8, 2024 · 1 min readKeep alive HeaderThe keep-alive header in HTTP indicates how long a persistent connection between the server and the client should be kept open. A connection refers to the communication link between the client and server over TCP Protocol. A connection is established...00
OPOm Pawaskarincuriousindian958.hashnode.dev·Jul 8, 2024 · 1 min readBinary SearchWorks for a sorted sequence of anything. Idea is to reduce the search space repeatedly until we reach to the final element or search space becomes exhausted. // Iterative Approach int left = 0 ,right = n -1; while(left<=right) int mid = (left + right...00
OPOm Pawaskarincuriousindian958.hashnode.dev·Apr 21, 2024 · 1 min readPython InternalsWhen we create a variable in Python and assign some data to it an object of the data gets created in memory and the variable points to it. So when we assign the same data value to another variable it references the same data. (Everything in Py is an ...00
OPOm Pawaskarincuriousindian958.hashnode.dev·Apr 11, 2024 · 1 min readPython Interpreted or CompiledAs the Py virtual machine executes the byte code line by line so it is interpreted. Languages Like C are compiled Languages.For example: For the following code we get this output: print("Hello World") print(a) Hello World Traceback (most recent call...00