Ruby Interview Question Practice: Array Into Stacks

This interview question comes from chapter three, example one in the book Cracking the Coding Interview. I’ve been reading this book as I’ve been on my job hunt. This question was initially worked on by myself and one of my former co-workers on a whiteboard at our old office. And the question was:

Describe how you can take a single array to implement three stacks?

Continue reading


JavaScript Course Notes

These are some notes I took when going through the course JavaScript: Understanding The Weird Parts on Udemy. It’s an excellent course for anyone looking to learn the details of how JavaScript works, just make sure to wait to buy it until Udemy launches one of its flash sales (those sales happen frequently). These notes are really more for myself, and act more as a point of reference should I ever need to look something up, rather than a fully functioning article.

Continue reading