Chapter7: Strings and StringBuilderOverview on String Every string that you create is actually a object of type string. Strings in Java are immutable, meaning their values cannot be changed once they are created. Operations such as concatenation or substring extraction result in the c...3 min read路kavya08.hashnode.devSep 25, 2025
Chapter6: Binary SearchAbout Binary Search Binary search works on a sorted collection of elements, such as an array. The basic idea behind binary search is to repeatedly divide the search interval in half. It has a time complexity of O(log n) where "n" is the number of ...3 min read路kavya08.hashnode.devDec 25, 2023
Chapter5: Linear SearchAbout Linear search Linear search is a simple searching algorithm that iterates through a collection (such as an array or list) to find a specific element. Here's a short example of linear search in Java. It's straightforward but not the most effic...4 min read路kavya08.hashnode.devDec 24, 2023
Chapter4: Arrays and ArrayListsAbout Array In Java, an array is a fundamental data structure that allows the storage of multiple values of the same data type under a single variable name. Arrays provide a convenient way to manage collections of elements, such as integers, characte...6 min read路kavya08.hashnode.devDec 11, 2023
Chapter3: Time complexity and ProgramsIntroduction It is not enough to gain theoretical information. You will become an pro only when you put your knowledge in practical. Let's dive into the coding world where we will be using all that we learnt so far. We will be using functions and met...5 min read路kavya08.hashnode.devDec 9, 2023