Hacker News new | past | comments | ask | show | jobs | submit login

It took me a couple of minutes to remember the pascal triangle due to the way you are presenting the triangle. I'd rather have it structured as such:

   1
  1 1
 1 2 1
  ...
It makes it easier to understand when you say 'the two numbers to the right and left on the row above'. However, the way you present it may make it easier to find a solution since it hints to storing the numbers in an array that can be used in each iteration and highlights the relations between the positions of the numbers. But i guess much of this shouldn't be a problem to experienced programmers.



That's an artifact of the HN display system. When it's presented to the candidates, it's definitely correctly centered.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: