Skip to content

State Transition

2 posts2 contributors

+ FollowBe the first to follow this
Write about it

Articles about State Transition

  1. Buy Stock with Transaction Fee

    Maximize stock-trading profit with a transaction fee using a two-state dynamic programming approach. Includes an O(n)-time, O(1)-space Java solution using hold and cash states.

    Sandhiya PriyaSandhiya Priya3751,000
  2. What is Dynamic Programming and how to master it

    Discover the power of Dynamic Programming—an essential algorithmic technique to solve problems efficiently. This article simplifies DP concepts, patterns, and strategies to help you master it with confidence.

    Suryansh ShuklaSuryansh Shukla2,0161,000