Javascript
Miscellaneous
Webgoat
Python
- Step-by-Step Guide to Configuring a 5G SA Network with Open5GS and MEC on Virtual Machines
- Solving WinError of Pytorch Error Loading caffe2_detectron_ops.dll
- Anomaly Firewall Rule Detection and Resolution
- Setup a public Jupyter Notebook Server with HTTPS
- Dual OS and Python installation guide
- Tensorflow and Keras environment installation guide
- Two degree of freedom system containing two springs and two masses
- Install python packages for local user without sudo
- Web crawler on observation data using python
- Simple TCP client and server using python
Java
Ctf
Parallel programming
Travel
Machine learning
Sdn
Php
Llm
Quantitative interview
- Sum of Alternating Weights of Subsets of {1, 2, ..., 2013}
- Optimal Betting Strategy for the World Series Using Dynamic Programming
- How Many People Did Mrs. Jones Shake Hands With?
- How Many Digits Does 125^100 Have Without Using Logarithms?
- Alice and Bob Multiplicative Game: Can Alice Always Win?
- Why One Train Arrives First 80% of the Time
- Probability that One Random Subset is Contained in Another
- Probability of Amoeba Extinction in a Branching Process
- Can Mulder Escape the Alien? A Circular Pursuit Problem
- Can Bob Guess the Larger Number with Better Than 50% Accuracy?
- Visible Unit Cubes on the Surface of a 10×10×10 Cube
- The Pancake Problem: Conditional Probability Puzzle
- Shortest Path for an Ant in a 10×10×10 Cube
- Probability of No Two Consecutive Heads in n Coin Tosses
- Expected Tosses Until Two Consecutive Heads
- Expected Flips Until First Head
- Counting 1″ and 2″ Jump Sequences Using Matrix Exponentiation
- Choosing Fairly Between Three Options Using a Coin
- Alice vs. Bob: Coin Toss Game and the Ballot Problem
- Solving the Ornstein–Uhlenbeck SDE
- Positive Semidefiniteness of a 3×3 Correlation Matrix
- Distribution and Martingale Property of an Integrated Wiener Process
- C++ Implementations of the Fibonacci Function
- Arbitrage Opportunity in Mispriced Put Options
- Where on Earth Can You Travel S–E–N and Return to Start?
- Proof That the Standard Normal PDF Integrates to 1
- How Many Uniform Samples to Hit an Interval with 95% Probability?
- Digit Puzzle: What’s Missing in 2^29?
- Ant Collisions on a Line: Who Reaches Whom?
- The power of two
- Five Classic Sorting Algorithms: Descriptions and Complexity
- Three Classic Search Problems: Min/Max, Sparse Array, and Matrix Search
- Fisher–Yates Shuffle and Reservoir Sampling
- Sliding-Window Average in O(m) Time
- Maximum Contiguous Subarray: Kadane’s Algorithm
- Naive Recursive Fibonacci: Why It Explodes and How to Fix It
- Remove Duplicates from a Sorted Array
- Random Ants on a Stick: Expected Time Until All Fall Off
- Order Statistics of Uniform(0,1): Max and Min
- In-Place Variable Swap: No Temp Needed
- Efficient Polynomial Evaluation with Horner’s Rule
- Biased Gambler’s Ruin: Unequal Initial Fortunes
- Dice Duel: Rolling a 12 Before Two Sevens in a Row
- Correlation of Min and Max of Two Uniform Variables
- Color Consensus: Expected Steps to Uniformity
- Penney’s Game: Waiting Times, Sequence Races, and Optimal Strategies
- The Noodle Connection Puzzle: Expected Number of Loops
- The Meeting Problem: Will They Overlap?
- Stopping Rule Puzzle: Expected Total Die Roll Earnings
- Simplex Volume: Probability the Sum of Uniforms is ≤ 1
- Moments of the Standard Normal Distribution
- Minimum-Variance Hedge Ratio in Portfolio Theory
- First-Ace Puzzle: Expected Stopping Time in a Deck
- Coupon Collector Problem: Full Collection and Expected Diversity
- Correlation and Joint Probability Bounds: At Least One Default
- Cars on the Road: Poisson Probability Over Time
- Bus-Waiting and the Memoryless Property
- Broken Stick Problem: Forming a Triangle
- The Monty Hall Problem: Should You Switch?
- The Boy or Girl Paradox: Two Variants
- The Birthday Problem: Probability of Shared Birthdays
- The 100th Digit of (1 + √2)^3000
- Simulating a Fair Coin with a Biased One: The Von Neumann Extractor
- Self-Reinforcing Free Throw Probability: Exactly 50 Makes in 100 Shots
- Russian Roulette: Optimal Strategies Across Four Variants
- Probability of Strictly Increasing Dice Rolls
- Gambler’s Ruin: Reaching the Goal Before Going Broke
- Galton–Watson Branching Process: Will the Amoebas Die Out?
- Derangement Puzzle: When Every Letter Goes Wrong
- Dart Game and Conditional Probability
- Probability That a Cube Ends in 11
- Candies in a Jar: Probability of Final Red Draw with Remaining Blue and Green
- Birthday-Line Puzzle: When to Stand in Line
- Bayes' Theorem and the Double-Headed Coin
- Alternating Coin Toss Game: Who Wins on HT?
- All-Girl World Reproduction Puzzle
- Aces in a Bridge Deal: Equal Distribution
- Why √2 Is Irrational: A Classic Proof
- Staircase Problem: How Many Ways Can the Rabbit Hop?
- Rainbow Hats Puzzle: Guaranteeing One Correct Guess
- Poker Probabilities: Four-of-a-Kind, Full House, Two Pairs
- Pirates, Locks, and Threshold Security
- N Points on a Circle: When Do They Fit in a Semicircle?
- Gas Station Puzzle: Completing the Circular Lap
- Coin Toss Game: Who Wins with One Extra Flip?
- Chocolate Bar Puzzle: Breaking It Down
- Chess Tournament Puzzle: When Do the Top Two Meet?
- Card Comparison Game: What Are the Odds You Win?
- Airplane Seating Puzzle: The Drunk Passenger Paradox
- Divisibility by 9: A Digit-Sum Shortcut
- Coin-Splitting Puzzle: Invariance in Action
- Chameleon Colors: Can They All Agree?
- 100 Prisoners and Hats: Surviving with Strategy
- Two Missing Numbers: Finding What’s Gone
- Two Glass Balls and the 100-Story Drop
- The Party Problem: Ramsey’s Theorem in Action
- Sock Drawer Puzzle: Matching by the Pigeonhole Principle
- Single Weighing: Find the Counterfeit Bag
- Handshake Puzzle: No Unique Counts Allowed
- Counterfeit Coins II: Weigh Once, Learn All
- Clock Pieces Puzzle: Equal Arcs Around the Dial
- Ants on a Square: Pigeonholes Under Glass
- Wise Men and the Glass: A Coordinated Countdown to Freedom
- Two Doors, Two Guards: One Question to Decide
- Trailing Zeros in 100!: Factorial Fun
- The Last Ball Puzzle: An Invariant Insight
- Secure Salary Averaging: Private Numbers, Public Mean
- Secure Message in a Box: The Double-Lock Solution
- Mislabeled Bags: One Pull to Solve Them All
- Light Bulb and Switches: Solving with Heat and Logic
- Infinite Power Tower: Solving for Stability
- Coin Piles Puzzle: Equal Heads Without Seeing
- Calendar Cubes: Building Every Day of the Month
- Box Packing Puzzle: Bricks in a Cube
- 25 Horses, 5 Lanes: Finding the Top 3 Fastest
- The Birthday Problem: Deduction by Dialogue
- Pair-Draw Casino Game: A Sure Bet Against You
- Burning Ropes: Timing the Irregular
- Bridge and Torch: Racing Against the Dark
- 12-Ball Balance Puzzle: Solving in Three Weighings
- Tiger and Sheep: Parity, Predation, and Rationality
- Screwy Pirates and Rational Coin Splits
Trading