title: Dynamic Programming - Finding Maximum Profit
body: <p><img src="https://i.stack.imgur.com/dOANq.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/R6ogg.jpg" alt="enter image description here"></p>
  
  <p>I'm new to dynamic programming. So, I'm suppose to find the max profit. I don't think what I'm doing is correct. I don't understand what the k conversions is for. In the given example there are given 3 currencies, so therefore there are 3 conversion. Can someone please give me more ideas about how to solve this?</p>