PAU OJ Online Judge
ProblemsLearnStudy plansContestsSubmissionsRank

Updates

Announcements and upcoming contests

Loading announcements…
Sign in for personal alertsBrowse contests
Log inSign up

PAU OJ

PrimeAsia University Online Judge

A real online judge for programming practice, university contests and coding assessments. Write code in your browser, get sandboxed verdicts, and track your progress.

Platform

  • Problems
  • Contests
  • Submissions
  • Ranking
  • Reviewers

Resources

  • User guide
  • Changelog
  • How judging works
  • System health
  • Create an account

© 2026 PrimeAsia University Online Judge. All rights reserved.

v0.9.0

  1. All learning tracks
  2. Track 05
05

Learning track

Live

Dynamic Programming

বড় সমস্যাকে ছোট অংশে ভাগ করা

Recognise overlapping subproblems and implement memoisation and tabulation.

ফিবোনাচি থেকে knapsack, LCS, LIS, tree DP আর bitmask DP—DP-এর প্যাটার্নগুলো ধাপে ধাপে।

Estimated time
26 hours
Topics
5 topics
Problems
60 problems

Your progress

0 of 60 solved0%

Badge unlocks at the checkpoint

Course overview

The promise, the time budget, and the path you will follow.

কোর্স ব্রিফ

ফিবোনাচি থেকে knapsack, LCS, LIS, tree DP আর bitmask DP—DP-এর প্যাটার্নগুলো ধাপে ধাপে।

এই কোর্স শেষে তুমি পারবে

  • DP-এর প্রথম ধাপ

    Memoisation vs tabulation, state আর transition।

  • গ্রিড DP

    Fibonacci, climbing stairs, unique paths আর minimum path sum।

  • ন্যাপস্যাক প্যাটার্ন

    0/1 knapsack, unbounded knapsack আর subset sum।

  • LCS ও LIS

    Longest common subsequence আর longest increasing subsequence।

ফরম্যাট ও সময়

Premium module

Dynamic Programming is part of the paid track

Modules 1–2 stay free. Unlock this module for ৳200, or take the five code modules (Advanced SQL is separate) for ৳700. Pay by bKash or City Bank, submit the TrxID and an admin approves it — no card needed.

Unlock for ৳200Can't pay? Request free access

Visual preview

A small taste of the first lesson's visual explainer.

Concept visual

মেমোইজেশনের জাদু

ফিবোনাচির কল-ট্রিতে একই ছোট সমস্যা বারবার ফেরে, আর প্রতিটি অবস্থা একবার সেভ করলেই পুরো হিসাব O(n)-এ নেমে আসে।

fib(1)fib(2)fib(3)fib(4)fib(5)fib(6)
dp1123

What's inside

The full curriculum is ready — purchase or request free access to open it.

  • 01

    Introduction to DP

    Locked

    DP-এর প্রথম ধাপ

    Memoisation vs tabulation, state আর transition।

    Locked · earn the previous checkpoint badge to open this topic

  • 02

    1D & 2D Grid DP

    Locked

    গ্রিড DP

    Fibonacci, climbing stairs, unique paths আর minimum path sum।

    Locked · earn the previous checkpoint badge to open this topic

মোট সময়
26 ঘণ্টা
টপিক
5টি
মোট সমস্যা
50টি
চেকপয়েন্ট
45 মিনিট

শুরু করার আগে

  • আগের ট্র্যাকের মূল ধারণা (রিভিশন নোট আছে)
  • প্রতিদিন ৩০–৪৫ মিনিট অনুশীলনের সময়

কীভাবে শিখবে

  1. 01

    ধারণা

    কেন দরকার আর কীভাবে কাজ করে—উদাহরণসহ পড়ো।

  2. 02

    গাইডেড

    সমাধান দেখে দেখে ২টি সমস্যা হাতে-কলমে করো।

  3. 03

    প্র্যাকটিস

    নিজে চেষ্টা করো—সহজ থেকে কঠিন ক্রমে।

  4. 04

    চেকপয়েন্ট

    45 মিনিটে 3টি সমস্যা; সব সলভ করলে ব্যাজ।

5
8

dp[i][j] = আগের cell-গুলোর উপর নির্ভরশীল

currentdependency

  1. 1রিকার্শনে একই হিসাব বারবার দেখো
  2. 2state ঠিক করো
  3. 3প্রতিটি state একবার হিসাব করে সেভ করো
3টি ধাপের ঝলকগতি কমালে স্থির
03

Knapsack Patterns

Locked

ন্যাপস্যাক প্যাটার্ন

0/1 knapsack, unbounded knapsack আর subset sum।

Locked · earn the previous checkpoint badge to open this topic

  • 04

    LCS & LIS

    Locked

    LCS ও LIS

    Longest common subsequence আর longest increasing subsequence।

    Locked · earn the previous checkpoint badge to open this topic

  • 05

    DP on Trees & Bitmask DP

    Locked

    ট্রি ও বিটমাস্ক DP

    Tree DP আর subset DP-এর সূচনা।

    Locked · earn the previous checkpoint badge to open this topic