Блог пользователя madcannibal

Автор madcannibal, история, 9 лет назад, По-английски

Can be a rule there to transform the Top-Down to Bottom-Up ?

Полный текст и комментарии »

Теги dp
  • Проголосовать: нравится
  • -5
  • Проголосовать: не нравится

Автор madcannibal, история, 9 лет назад, По-английски

i solve this problem using memoization recursive function (UVa 10306 — e-Coins) , but when i try bottom up i don't know how to make all possible sum pairs in 2d table using their rows and columns indexes , any ideas ? thanks in advance.

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор madcannibal, история, 9 лет назад, По-английски

And i still asking myself until i become completely mad , how i detect the overlap or the building formula of the dp table in the non classical dynamic programming problem even though i solves the classical ones easily , i really have problem with this what should i do ? :/

Полный текст и комментарии »

Теги dp
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор madcannibal, история, 9 лет назад, По-английски

is it possible to solve it by a recursive knapsack algorithm ? it take Time limit exceed when i memo it in 2d array , and if it is impossible how can i solve it by 1d subset sum ? thanks in advance :D

Полный текст и комментарии »

Теги uva
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор madcannibal, история, 9 лет назад, По-английски

i wish that anyone explains to me in simple way the algorithm of the Longest Increasing Subsequence in O(nlogn) time , cuz i actually read all online articles about it and found no one explain it well , thanks in advance :)

Полный текст и комментарии »

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится