- Read How to answer a coding interview.
- Read Using sliding window technique to solve coding interview questions.
- Practice coding Array 1 Two Sum
- Practice coding Array 2 Three Sum
- Practice coding Array 3 Max Consecutive Ones III
- Practice coding Array 4 Maximum Product Subarray
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
| import moment from "moment"; | |
| const startDate = "2020-09-23"; | |
| const months = 6; | |
| const getWeeks = (weekRanges) => { | |
| const weekNumbers = []; | |
| weekRanges.forEach((date) => { | |
| weekNumbers.push(moment(date.begin, date.end).week()); | |
| }); |
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
| Zen Of Javascript | |
| Build functionality, not architecture. | |
| Build small things that work | |
| and glue them together to make big things. | |
| Clear is better than clever, | |
| but graceful beats both. | |
| Comments are good, even if you're Dutch. | |
| Asychronous is better than synchronous | |
| except for when it isn't |