String: All we need to know

In this blog, we are going to learn about Strings, and how do we use them in Java. A string is a sequence of characters. String is a class in Java. String is immutable; the value once created can't be changed. String is not a premitive data type. https://www.youtube.com/live/ZuXe-v0hlyg?si=PFMWkIZcfMs0848n Why are String immutable? Strings are immutable on purpose. Because in order to optimize Strings in Java, we have String Pool, where all the strings recides.Whenever a new string is created, first the Java Program checks the String Pool, and if the same string is present, the new reference points to…

0 Comments
Array: All we need to know before throwing the signals of not doing the work
pumbcode-logo

Array: All we need to know before throwing the signals of not doing the work

We have all worked with arrays, and Arrays are the first collection on which every developer works on. Through this live, I have gone through various concepts, along with Practice Question on Array as well as 2-D Array. NOTE: The live is recorded in two Parts, because there was some glich while recoding the 1st time. https://www.youtube.com/live/Oqk2Hb5-bqI?si=WbYszvkzYF6Icbh_ https://www.youtube.com/watch?v=Kg7PxTL59ho What is Array? Continuous Memory Allocation Contains elements of Same Data Type Starts from 0 index Ends at index n-1, where n=no of elements/ size of array The size of array is fixed Array is a fixed homogeneous collection of elements. How…

0 Comments

The Ultimate DSA Plan

The first thing before starting is to know about the game. In order to know more, first we need to know about various data structures and common algorithms. Here is the list of data structures. https://www.youtube.com/watch?v=sihsGdigAWo NOTE: Every Link will be updated while we progress. Stage 1: Understanding the Data Structures Here is the starting point. First, we need to go through the following data structures: Data StructuresPublished (Blog Link) /Not PublishedVideo LinkArraysArray: All we need to knowPart-1 & Part-2Note: They are in two parts, because there was some glich, in the first liveStrings (StringBuilder, char arrays)Not PublishedNo LinkArrayListNot PublishedNo…

0 Comments