Daily routine for Calmness
Why? -> To reduce overthinking and avoiding anxiety & panic. -> Train the mind like training body. Problems -> Brain stuck in βwhat ifβ loops (future problems, alternate-case scenario...
Why? -> To reduce overthinking and avoiding anxiety & panic. -> Train the mind like training body. Problems -> Brain stuck in βwhat ifβ loops (future problems, alternate-case scenario...
Definition Expression: A piece of code that evaluates to a value. It always produces/returns a result that can be assigned to a variable or used in other expressions. Statement: A piece of code t...
Definition Property: A property is a characteristic or attribute of an object that holds data. It represents a state or value that belongs to a class or object. Function: A function is a block of...
Definition An Array is a mutable and linear collection of same data type elements, each having its own identifier index which starts from 0 and goes upto n - 1. where n is size of an array. Array...
Operation Availability By Collection Type β - Available β - Not Available π - Returns different type Operation List Set Map Array String Sequenc...
Quick Reference Tables Basic Operations Operation Description Example Returns filter Keep elements matching predicate list.filte...
A quick reference guide for length and size operations youβll frequently need in competitive programming and problem-solving. Quick Reference Table Data Structure Property/Fu...
Quick reference for index operations commonly needed in problem-solving. Quick Reference Table Property/Function Applicable On Returns Example Notes ...
Problem Statement You are given an array prices where prices[i] represents the price of a given stock on the ith day. You want to maximize your profit by buying the stock on one day and selling it...
Collection Type Hierarchy Collection (Interface) βββ List (Interface) β βββ ArrayList β βββ LinkedList β βββ Arrays.asList() βββ Set (Interface) β βββ HashSet β βββ LinkedHashSet β βββ...