PCPradyumn Chaudharyindsabypd.hashnode.dev·Jul 26, 2025 · 3 min readRecursion✅ 1. What is Recursion? Recursion is a programming technique where a function calls itself to solve smaller instances of a problem. ✅ 2. Structure of Recursive Functions void recursiveFunction(...) { // Base Case if (some_condition) return; ...00
PCPradyumn Chaudharyindsabypd.hashnode.dev·Jul 26, 2025 · 3 min readStrings🧠 Strings (Java-Focused) ✅ 1. Basics of Strings in Java String is an immutable class in Java. Common ways to create: String s = "hello"; // string literal String s2 = new String("hi"); // object creation Useful methods: s.length(...00
PCPradyumn Chaudharyindsabypd.hashnode.dev·Jul 26, 2025 · 4 min readBinary Search✅ 1. Binary Search Basics Concept: Binary Search works on sorted arrays by repeatedly dividing the search interval in half. Time Complexity: O(log n) Space Complexity: O(1) (Iterative), O(log n) (Recursive) Template (Iterative): int binarySearch(...00
PCPradyumn Chaudharyindsacheatsheet.hashnode.dev·Apr 22, 2025 · 5 min read🧠 The Ultimate Guide to DSA Patterns (With Examples)Whether you're preparing for coding interviews or just want to become a better problem solver, mastering patterns in Data Structures and Algorithms (DSA) can be a game-changer. Instead of memorizing solutions to hundreds of problems, recognize the un...00
PCPradyumn Chaudharyinthepradyumnchaudhary.hashnode.dev·Apr 21, 2025 · 1 min readWhy I’m Start Blogging👋 Hello, I Am Pradyumn Chaudhary! I’m a 2nd-year Computer Science student at MBM University, Jodhpur. Over time, my curiosity in the field of Computer Science has led me to develop a deep interest in Data Structures and Algorithms (DSA). As I’ve wor...00