Solutions to Evernote interview street coding challenge