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...
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 β βββ...
Problem Statement Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining. Solve Here: Trapping Rain Water ...
Problem Statement You are given an integer array height of length n, where each value represents the height of a vertical line drawn at that index. The task is to find two lines that, together wit...
Problem Statement Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that: i != j, i != k, and j != k nums[i] + nums[j] + nums[k] == 0 The solution set mu...