Realsakib25's blog

By Realsakib25, 5 weeks ago, In English

Like petr mitrichev shared his experience of his first algorithm problem. I am curious to know your very first algorithm problem experience.

Mine
 
 
 
 
  • Vote: I like it
  • -25
  • Vote: I do not like it

»
5 weeks ago, # |
  Vote: I like it -7 Vote: I do not like it

I don't remember but maybe maximum of two numbers. :)

»
5 weeks ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

I don't remember my very first algorithm experience, but my first "nontrivial" algorithm (written in JavaScript) calculated the number of partitions of an integer in $$$O(n^2)$$$. It's a bidimensional dp, but I didn't know neither "proper" dp nor bidimensional arrays! This was the result.

»
5 weeks ago, # |
  Vote: I like it +8 Vote: I do not like it

Mine was print "Hello World!" .