Grokking Data Structures & Algorithms for Coding Interviews
Ask Author
Back to course home

0% completed

Vote For New Content
DP or not DP

lestatcheb

Jul 15, 2024

Looks like we don't have any DP sections before, and here we just starting using DP solution without knowing any DP concepts.

I think we should either remove this DP solution and use another one (like Trie with 2 pointers),

or add DP learning section somewhere before this Trie learning section

9

0

Comments
Comments
Devon Clark
Devon Clarka year ago

Agree with this!

I
ibrahimazan 10 months ago

I agree with this. I solved it with Trie plus two pointers only to get smacked in the face by this solution. I started with this course before the DP one please change the solution

Caroline G
Caroline Ga month ago

Agree, at least include non-DP solution. I bookmarked this solution to come back to and revisit later after learning DP.

On this page