Moved to https://api.fmhy.net
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Delete every Chat in WhatsApp, by Jamie Mason (https://twitter.com/fold_left) | |
| // https://gist.github.com/JamieMason/f8992ebf95423244b730b2c393c321ef | |
| // | |
| // 1. Go to https://web.whatsapp.com/ and sign in. | |
| // 2. Archive any messages you don't want deleting, you can unarchive them after. | |
| // 3. Open the Developer Console. (COMMAND+ALT+I on Mac) | |
| // 4. Paste this into the Developer Console and run it. | |
| // 5. If it gets stuck, scroll up and down in the list of chats. | |
| // 6. Refresh the page and run again if you have any problems. | |
| // 7. This Script does not Exit Groups or clear messages in them. |