macfanatic / homework

The Hireology Engineering Code Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Hireology Software Engineer Homework

Instructions

There are two parts to the Software Engineer Homework set. Part 1 is written answer, and Part 2 is a set of programmable problems. Please fork this repo to your GitHub account, add your work to the forked repo, and send a pull request when your work is complete.

###Part 1 - Written Questions

  1. How can Memcache improve a site’s performance? Include a description about how data is stored and retrieved in a multi-node configuration.

  2. Please take a look at this controller action. Please tell us what you think of this code and how you would make it better.

###Part 2 - Programming Problems

  1. Write a program using regular expressions to parse a file where each line is of the following format:

$4.99 TXT MESSAGING – 250 09/29 – 10/28 4.99

For each line in the input file, the program should output three pieces of information parsed from the line in the following JSON format (using the above example line):

{
  “feature” : “TXT MESSAGING – 250”,
  “date_range” : “09/29 – 10/28”,
  “price” : 4.99 // use the last dollar amount in the line
}
  1. Please complete a set of classes for the problem described in this blog post. Please do not create a database backend for this. Test doubles should work fine.

About

The Hireology Engineering Code Challenge