Skip to content
0:00 / 0:00

#dynamicprogramming#trees#c++

DP on Trees | Day 05 | Code A Problem A Day | C++ | Java | DSA | Placements

Problemist

15 subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.

Intermediate. Assumes working knowledge.

30 views2 months ago2 recommendations

Computer scienceAlgorithmsData structures

A step-by-step walkthrough of solving a dynamic programming problem on trees using C++ and Java.

I was feeling demotivated and inconsistent with coding. So instead of waiting for motivation to come back, I decided to start something simple: DO ONE CODE A DAY. This is Day 05 of my coding journey on PROBLEMIST. Every day, I'll pick a coding problem, try to understand it, solve it, and learn something from the process. Some problems will be easy. Some will probably destroy me. 😅 But the goal is simple — show up every day and get 1% better. In this video, I explain the problem, my approach, the logic behind the solution, and the code step by step. If you're also struggling with consistency, DSA, or simply finding the motivation to code, join me. One problem. Every day. Let's see where this takes us. Problem link- codeforces.com/contest/1363/problem/E Solution - codeforces.com/contest/1363/submission/387354041 --- 💻 Channel: PROBLEMIST 🔥 Series:Do One Code A Day 📅 Day: 05 Think. Code. Solve. Repeat. #Problemist #Coding #DSA #CompetitiveProgramming #Codeforces #Programming #CodingChallenge #DSAJourney #LearnToCode

Why it's here

2 people recommend this

What people say. Linked as a tutorial for learning dynamic programming on trees.

u/Alone_Reaction_2965in r/compsci • Recommends

Dynamic Programming On Trees

u/Comp_Coderin r/ProgrammingLanguages • Recommends

Dynamic Programming on Trees