You are not logged in. Please login at www.codechef.com to post your questions!

×

Dynamic programming

Question

https://www.hackerrank.com/challenges/fair-cut

Solution

http://pastebin.com/1R543whN

Thing is that I can't formulate the solution from editorial or given link above can anyone explain in detail with recursive solution also.

asked 26 Nov '16, 01:04

nil96's gravatar image

2★nil96
18071845
accept rate: 5%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×15,875
×2,220
×1,919
×1,491
×1,409

question asked: 26 Nov '16, 01:04

question was seen: 1,335 times

last updated: 26 Nov '16, 01:04