План обучения такой:
Нужно осознать базовые структуры данных (просто понимать что это и как можно перенести идеи на свой код):
- Массив;
- Стэк;
- Список;
- Хэш-таблица;
- Дерево и Куча;
- Граф;
[{"traceId":"969f72f6959f2103","name":"hot-reloader","id":1,"timestamp":171005222690,"duration":20,"tags":{"version":"12.0.9"}},{"traceId":"969f72f6959f2103","parentId":1,"name":"start","id":2,"timestamp":171005223048,"duration":0,"tags":{}},{"traceId":"969f72f6959f2103","parentId":2,"name":"clean","id":3,"timestamp":171005223065,"duration":2123,"tags":{}},{"traceId":"969f72f6959f2103","parentId":4,"name":"get-page-paths","id":5,"timestamp":171005225280,"duration":466,"tags":{}},{"traceId":"969f72f6959f2103","parentId":4,"name":"create-pages-mapping","id":6,"timestamp":171005225757,"duration":206,"tags":{}},{"traceId":"969f72f6959f2103","parentId":4,"name":"create-entrypoints","id":7,"timestamp":171005225974,"duration":589,"tags":{}},{"traceId":"969f72f6959f2103","parentId":4,"name":"generate-webpack-config","id":8,"timestamp":171005226569,"duration":18419,"tags":{}},{"traceId":"969f72f6959f2103","parentId":2,"name":"get-webpack-config","id":4,"timestamp":171005225247,"duration":19751,"tags":{}},{"traceId":"9 |
[{"traceId":"05e582f8eddeb403","name":"hot-reloader","id":1,"timestamp":170732165450,"duration":21,"tags":{"version":"12.2.0"},"startTime":1656494195826},{"traceId":"05e582f8eddeb403","parentId":1,"name":"start","id":2,"timestamp":170732165839,"duration":0,"tags":{},"startTime":1656494195826},{"traceId":"05e582f8eddeb403","parentId":2,"name":"clean","id":3,"timestamp":170732165858,"duration":135,"tags":{},"startTime":1656494195826},{"traceId":"05e582f8eddeb403","parentId":4,"name":"get-page-paths","id":5,"timestamp":170732166565,"duration":414,"tags":{},"startTime":1656494195827},{"traceId":"05e582f8eddeb403","parentId":4,"name":"create-pages-mapping","id":6,"timestamp":170732166991,"duration":213,"tags":{},"startTime":1656494195827},{"traceId":"05e582f8eddeb403","parentId":4,"name":"create-entrypoints","id":7,"timestamp":170732167215,"duration":855,"tags":{},"startTime":1656494195827},{"traceId":"05e582f8eddeb403","parentId":4,"name":"generate-webpack-config","id":8,"timestamp":170732168085,"duration":366678 |
План обучения такой:
Нужно осознать базовые структуры данных (просто понимать что это и как можно перенести идеи на свой код):
const base64Keys = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; | |
function encodeBase64(input) { | |
let output = ''; | |
let chr1, chr2, chr3; | |
let enc1, enc2, enc3, enc4; | |
let i = 0; | |
while (i < input.length) { |
function flattern(arr) { | |
const result = []; | |
const stack = [arr]; | |
let temp; | |
let length; | |
let value; | |
let i; | |
while(stack.length !== 0){ |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.