Linux Fundamentals: Building a Container from ScratchA container is often mistakenly thought of as a lightweight Virtual Machine. In reality, a container is not a physical boundary, nor does it have its own operating system. A container is simply a stan6 min read·rshaurya.hashnode.devSep 8
Generator Functions in PythonWhat are Generators? In Python, a generator is a special type of function that returns a generator object which is an iterator. A generator produces values one at a time, pausing until the next value4 min read·rshaurya.hashnode.devMay 1
How I setup devcontainers for heavy development projects and why I'll never switch backWhy I Finally Started Using Devcontainers for Heavy Development Setups I had heard about devcontainers before, but never actually needed them fir a project. That changed when I started working on a la4 min read·rshaurya.hashnode.devMar 26
Search in Rotated ArrayThis is part two of the DSA Series where we'll solve the 'Search in Rotated Array Problem'. Problem Statement Assume there is an integer array nums sorted in ascending order (with distinct values). Prior to being passed to your function, nums is poss...6 min read·rshaurya.hashnode.devAug 18, 2024
Maximum Subarray Sum using Kadane's AlgorithmThis is part 1 of the DSA series where we will be going through the Kadane's Algorithm to solve the 'Maximum Subarray Sum' problem. Let us first understand what a subarray is. Consider the following array of integers: int arr[] = {7,2,0,5}; A subarra...4 min read·rshaurya.hashnode.devAug 10, 2024