GomerDoGo's blog

By GomerDoGo, history, 3 weeks ago, In English

So, I was sleeping and this problem just came to me in a dream:

Given an array a and an array b, we need to split a into contiguous subsegments and for each subsegment assign 1/0 — whether we reverse it or not. The question: can we determine if it's possible to obtain b from a?

So far I only know how to solve it in O(n²), but there's clearly a better way, help pls

Full text and comments »

  • Vote: I like it
  • +63
  • Vote: I do not like it

By GomerDoGo, history, 3 months ago, In English

So the question of life the universe and everything: merch or CF rating?

more precisely, CF round or a local tournament with merch?

Full text and comments »

  • Vote: I like it
  • -4
  • Vote: I do not like it