300+ free video programming tutorials ― Learn for free!

Interview Questions - #1 - The Perfect Shuffle

Category: Interview Questions - Author: Karl Hadwen

Home > Interview Questions > Interview Questions - #1 - The Perfect Shuffle

Did you find this video helpful? If so, why not subscribe!? ? http://bit.ly/CognitiveSurge

The perfect shuffle, also known as the "faro shuffle" is when the deck is split into equal halves of 26 cards that are then interwoven perfectly. In this video I'm going to be showing you how to do the perfect shuffle in Java. Same concepts apply to any language really so try doing it in a different language!

The video is fairly long so feel free to skip it at any point. I've read online that this particular question (the perfect shuffle) has come up in interviews before for Java based roles so hopefully this will help people understand the perfect shuffle.

This is a new series and I'll be uploading more interview questions as soon as possible! Enjoy the video and expect many more interview style questions to be answered!

The best shared web hosting: https://www.bluehost.com/track/karlhadwen/

The best simple cloud hosting for developers: https://m.do.co/c/426ceabcea09

Like the Cognitive Surge Facebook page

Follow me on Twitter (Feel free to tweet me questions!)