Ad
  • Default User Avatar
  • Default User Avatar

    I should say this is essentially the same as tachyonlabs' solution. I simply reduced spacing and the variable $keyPressCount (too long imo) to $k. Not sure why the engine treated it as a different solution though...

  • Default User Avatar

    Left a feedback of Somewhat satisfied. Mainly because the cases for conditions not being fulfilled I don't feel were fully explained (i.e. negative heights and such). Could maybe have benefitted from a bit more explanation. I had a case (at least I think I did) where the height was greater than the window but still negative. Had to do many "or" clauses in my return -1 if. Language was PHP (not that it would make a difference).

    Other than that it was pretty good. I liked the explanation overall. Just the right amount of explaining the problem without basically giving the solution to the users. I should also note I was easily able to adapt to the negative height thing with the kata being as it is.

  • Default User Avatar

    I really enjoyed this and will probably go through the rest of the series as a result.

    Your teaching method is sound and fun to do!

    Very helpful so far for teaching me how to use classes.

  • Default User Avatar

    This thing kicked my a** for a while. Glad to have finally solved it. Also quite impressed with myself.

    I'm additionally happy that solutions I've seen since solving it are just as complex as mine. Gives the ego a boost.

    Great Kata!