Back to Browse

Leetcode 837 | New 21 Game 🎯 DP + Probability | Java | Leetcode Daily Challenge

254 views
Aug 17, 2025
30:55

In this video, we solve Leetcode 837 – New 21 Game using Dynamic Programming + Probability in Java. Code: https://github.com/studyPlacement/CodeHub/blob/main/Solution837 Striver Sheet For Interviews: https://youtube.com/playlist?list=PLsLlEdtakGozEsXcEpJPihiod1MwHf3M1&feature=shared Neetcode 150 Playlist: https://youtube.com/playlist?list=PLsLlEdtakGozrvhxZsPfvXavXYzX2GUig&feature=shared DP Playlist: https://youtube.com/playlist?list=PLsLlEdtakGoyNROP7uWS9OLLHs9_JluVM&feature=shared Sliding window Playlist: https://youtube.com/playlist?list=PLsLlEdtakGozlKx_L-5PQJO-ua_maQb6R&feature=shared Binary Search Playlist: https://youtube.com/playlist?list=PLsLlEdtakGozNxx5rfRgEW-1DYseLnDbV&feature=shared We cover: βœ… Problem explanation & constraints βœ… DP + Sliding Window approach βœ… Probability distribution logic βœ… Optimized solution with dry run βœ… Placement-ready explanation Perfect for DSA prep, FAANG interviews, and competitive coding. πŸ”— Problem Link: https://leetcode.com/problems/new-21-game/ #Leetcode837 #New21Game #LeetcodeDailyChallenge #JavaDP #DynamicProgramming #Probability #DSAPlacement #CodingInterview Timestamps: 00:00 Introduction 00:10 Problem Statement 00:30 Flow of video 02:10 Recursive Approach 06:00 Code Explanation of rec + Memo 10:10 Dry run (Recursive tree) 14:45 Need of bottom up with sliding window 16:55 Bottom Up Approach 21:25 Code Explanation 26:28 Dry run

Download

0 formats

No download links available.

Leetcode 837 | New 21 Game 🎯 DP + Probability | Java | Leetcode Daily Challenge | NatokHD