As the crow flies – Euclidian distance

Euclidean Distance Calculator Enter two vectors (same length), separated by commas or spaces. Example: 1, 2, 3 and 4 5 6. Vector A Vector B Compute Clear The phrase “as the crow flies” means the shortest distance between two points in a straight line, without considering roads, turns, or obstacles. Euclidian distance The direct, straight-line … Read more

Z-Score Normalization calculator

Z-Score Normalization Paste numbers (comma, space, tab, or newline separated). Formula: z = (x − μ) / σ Values Standard deviation: Sample (n − 1)Population (n) Decimals Normalize Count: – Mean μ: – SD σ: – Min: – Max: – # Original (x) z If all values are identical (σ = 0), z is shown … Read more

Creating python virtual environment

A virtual environment is an isolated workspace for your Python projects.It helps you manage dependencies for each project separately — so your global Python setup stays clean. Step 1: Open Command Prompt or PowerShell Navigate to your project folder using: (Replace <project_directory> with your actual project path, for example:) Step 2: Create a Virtual Environment … Read more

Recurring Deposit Calculator

Recurring Deposit (RD) Calculator Calculate maturity amount, total deposit, and interest earned. Monthly deposit (₹) Annual interest rate (% p.a.) Tenure MonthsYears Compounding frequency Monthly (simpler)Quarterly (common in India) Deposit timing End of monthBeginning of month Calculate Reset Maturity amount ₹ 0 Total deposit ₹ 0 Interest earned ₹ 0 Note: Quarterly option compounds every … Read more

Understanding Gradient Descent

Gradient Descent is one of the most important optimization methods used in machine learning and modeling. At its core, it is a systematic way for a model to improve step by step, by reducing its mistakes over time. Think of Gradient Descent like walking down a hill. This process of slowly moving down the slope—making … Read more

Neural Network Explained

, What is a Neural Network? Think of your brain as a giant web of tiny switches called neurons. These neurons are the reason we can see, think, and make decisions. They pass signals between each other and gradually learn from experience. Now, a neural network in a computer is designed to mimic this process. … Read more

Maximum water in container problem

We want to find out how much water can be held between two sticks. The heights of our sticks are: height = [1, 2, 4, 3]Indexes ( 0, 1, 2, 3) We use two pointers: one at the left end and one at the right end.Formula for water:area = min(height[left], height[right]) × (right – left) … Read more

Blind 75 Problem List

Arrays & Hashing Two Pointers Sliding Window Stack Binary Search Linked List Trees Tries Backtracking Heap / Priority Queue Graphs Dynamic Programming (1D) Dynamic Programming (2D)