Hey friends!
I hope you're all staying safe with the insane weather out there. Please avoid floods and fires, fam.
Β
Web links of the week
redux-tutorial: learn redux step-by-step
A Guide To Virtual Reality For Web Developers
How to create fancy revealing animations with these simple CSS tricks
Building a Simple Notes Manager with Vue.jsβ
Β
Something that interested me this week
This was such a busy week for me, personally, but luckily I got to take a little break and see some fun tech at the
15th annual Seattle Code Camp this morning. My favorite talk was a live-coding one about
building a browser extension with Vue.js, and it definitely motivated me to mess more with Vue. So, that being said, I'll keep this short today so you can get cracking on the interview question below. I'm pretty proud of it. Onward!
Β
Interview question of the week
Write a program that schedules projects. Function scheduler() takes in 2 parameters:
- tasks which is an array of pairs that looks like [taskName, numHours], where taskName is the name of the task and numHours is the number of hours the task takes.
- workDayLength is an integer that is the number of hours you work in a day.
and scheduler returns the minimum number of days that it will take to finish the tasks, and prints the order in which they should be completed.
Example input:
scheduler([['go fishing', 2], ['eat a ton of cake', 3], ['take a nap', 4], ['work', 1]], 4)
Extra credit: Make an app out of it!
Β
Cool things from around the internet
TX-CP build log
How to Recognize Burnout Before Youβre Burned Out
Twine: an open-source tool for telling interactive, nonlinear stories
What Happens When a Science Fiction Genius Starts Blogging?β
Β
Joke
I really love playing chess with elderly people in the park.
It's just really hard to find thirty-two of them willing to do it.
Β
There you have it, friends! Be safe, make good choices, and sit up straight.
cassidoo