Mastering Daily DSA Problems: A Step-by-Step GuideWhat I Learned Today : How to detect if an array is sorted and rotated by counting the number of order breaks. The importance of checking both ascending and descending patterns to handle all rotation cases. Used edge comparisons (arr[n-1] vs arr[0]) ...Jun 25, 2025 · 2 min readraghavendradevale.hashnode.dev
Mastering Daily DSA Problems: A Step-by-Step GuideWrote a Java method to find the largest and second largest elements in an array. Handles edge cases like duplicates and single-element arrays. Learned: Using Integer.MIN_VALUE for comparisons Avoiding duplicate values when finding second largest S...Jun 25, 2025 · 2 min readraghavendradevale.hashnode.dev
Solving DSAI was trying to solve some DSA problems today I solved total 5 problems 4 easy and 1 medium on GFG portal the medium the problem messed my brain.At first I thought it was easy but after trying to solve it felt like banging my head. I tried solve on m...Jun 23, 2025 · 1 min readraghavendradevale.hashnode.dev
Hello, World!!!Hi everyone!I'm Raghavendra Devale, a recent Computer Science graduate and a passionate development enthusiast. This blog is where I’ll be sharing my daily updates what I’m learning, building, and practicing. This is my very first post on Hashnode, a...Jun 22, 2025 · 1 min readraghavendradevale.hashnode.dev