I got initials less comf. pretty quickly thankfully but I would like to know how you guys have implemented the code differently than me.


  • I have to agree with @Blauelf - this isn't really the type of question fit for SE. If you wanted to, you could look around at other questions and see how that user's code differs from your own. :-) Apr 3 '17 at 17:34
  • ok sorry about that. will do that for future problem sets :) Apr 3 '17 at 21:39
  • If you want to see a example, how i did it, for the more comfortable version, check out : gist.github.com/DanielDrachenberg/… Apr 4 '17 at 6:56

This is not a question for this kind of platform, as there is no correct answer.

My implementation is a state machine, processing one character at a time. Initially in "print next letter" state, on printing a letter, it switches to "ignore letters" state, just to be switched back on encountering a space.

Originally written for standard version (now "less"), it also worked for hacker version (now "more") without any changes.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .