Hacker Newsnew | past | comments | ask | show | jobs | submit | Tiks's commentslogin

You can also try company bots on CodeFights : https://codefights.com/bots if you win and apply your information gets submitted to respective companies directly.


Have you tried this? :) https://codefights.com/bots/botasana


I like how they slip in "Oh, all you have to do is parse HTML with regex" on the last problem.


God, I really hope they grasp the stupidity of using regular expressions to parse an irregular language. Implementing a very simple HTML parser takes at least a half-dozen man hours; seeing that question honestly makes Asana seem like amateur hour, and I've had to do some pretty stupid shit in my time. Snapchat, for example, had me solve Sudoku (???).


I'm assuming it's a reference to http://stackoverflow.com/a/1732454


for the HTML parsing - I was able to pass all the test cases using a stack (push the tags when they open and pop them as they close). I was doing zero validation as the challenge was to take valid html. (I didn't verify that the proper tag was being closed, I knew I'd get out of bound errors due to this, but it should work for valid html)

I was using a string builder to eat the input as I had parsed it... but I got an error on submitting my result - it gave "unexpected termination" even when I had replicated the "unexpected termination" error with a custom test case and caught the error - I still got an unexpected termination error when submitting - sigh - maybe it's related to using C# for the challenge... overall not so hard though...


CodeFights - https://codefights.com | San Francisco, CA | Full-Time

CodeFights is hiring full-time Software and Content Engineers in San Francisco, CA (remote is OK).

What can beat the joy of building a product that you and thousands of other engineers all around the world use and love every day? Doing it alongside an awesome team! So come join us and let's have fun.

Our stack is as cutting edge as it gets (SASS/Jade/JavaScript/Meteor.js/Node.js/MongoDB) and we are strong believers in continuous learning so even if you haven't had any experience with these but are smart and eager to learn, we wanna talk!

Jobs Site : https://jobs.lever.co/codefights

About us : https://codefights.com/join/join_cf.html


CodeFights - https://codefights.com - is hiring full-time Front-End/Back-End/Full-Stack and Content Engineers in San Francisco, CA (remote is OK).

What can beat the joy of building a product that you and thousands of other engineers all around the world use and love every day? Doing it alongside an awesome team! So come join us and let's have fun.

Our stack is as cutting edge as it gets (JavaScript/Meteor.js/Node.js/MongoDB) and we are strong believers in continuous learning so even if you haven't had any experience with these but are smart and eager to learn, we wanna talk to you!

Jobs Site : https://jobs.lever.co/codefights

About us : https://codefights.com/about


yes, at the moment at least


thanks for understanding woutervdb and for the upvote, would be awesome if you can give it a try now (the HN traffic has calmed down :) ) and let us know what you think -- email info @ codefights.com


everything is in javascript right now


How do you verify answers? Say there is more than one correct answer to a solution: do you run the code in a sandbox (with memoization) to find out if it works properly? Or is there only supposed to be exactly one proper answer for each question?

EDIT You should also provide a "reset" button if I screw up the form.

EDIT The horizontal scrolling is messed up, Google Chrome 36.0.1985.143 (Official Build 287914) m on Windows. I cannot see the right two or so characters on a wide question.


there is actually a workaround right now (not a great one but still). If you go to Forum from the top nav bar then click tasks you can see all of the tasks that you ever got during your codefights.


Hey Daniel, very sorry about that, HN rush hit our unprepared servers :) Just added several new servers so please try again.


sorry about that, way too many people on the site right now :(


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

Search: