rshaurya.hashnode.devSearch 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...Aug 18, 2024·6 min read
rshaurya.hashnode.devMaximum 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...Aug 10, 2024·4 min read
rshaurya.hashnode.devDSA with JavaThis blog serves as a table of contents providing solutions to various problems while learning Data Structures & Algorithms. We will be using Java for this series, feel free to implement it in your own language. Maximum Subarray Sum Search in Rotat...Aug 10, 2024·1 min read
rshaurya.hashnode.devUnderstanding Linux: A Beginner's PerspectiveDuring my summer vacation this year, I picked up this book: 'The Unix Programming Environment' by Brian Kernighan and Rob Pike. So I'll be listing a few concepts that caught my eye. File Structure The file structure is designed like an inverted tree....Jul 25, 2024·3 min read