{"id":20905715,"url":"https://github.com/chaudinh/js-concepts","last_synced_at":"2025-10-18T01:27:50.385Z","repository":{"id":36510347,"uuid":"185357982","full_name":"ChauDinh/js-concepts","owner":"ChauDinh","description":"A collection of concepts in JavaScript ","archived":false,"fork":false,"pushed_at":"2023-04-01T09:34:06.000Z","size":1119,"stargazers_count":4,"open_issues_count":14,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-01T18:24:39.062Z","etag":null,"topics":["algorithms","clean-code","data-structures","design-patterns","es6","javascript","javascript-concepts","regular-expression"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChauDinh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-07T08:35:03.000Z","updated_at":"2023-01-08T02:28:31.000Z","dependencies_parsed_at":"2023-01-17T02:16:20.528Z","dependency_job_id":null,"html_url":"https://github.com/ChauDinh/js-concepts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChauDinh%2Fjs-concepts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChauDinh%2Fjs-concepts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChauDinh%2Fjs-concepts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChauDinh%2Fjs-concepts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChauDinh","download_url":"https://codeload.github.com/ChauDinh/js-concepts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253882910,"owners_count":21978566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","clean-code","data-structures","design-patterns","es6","javascript","javascript-concepts","regular-expression"],"created_at":"2024-11-18T13:26:36.729Z","updated_at":"2025-10-18T01:27:45.332Z","avatar_url":"https://github.com/ChauDinh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Concepts in JavaScript I collect from other materials\n\n## Introduction\n\nThis repository was created with the intention of self-study to master JS concepts. Though it's not a requirement, it's a guide for future study other frameworks, libraries, and even languages.\n\n## Materials\n\nUpdating...\n\n## Table of Contents\n\n- Callstack\n\n- Premitive Type, Reference Type\n\n- Implicit, Explicit, Nominal, Structuring, and Duck\n\n- Function, Scope, block scope, lexical scope\n\n- Arrow functions\n\n- IIFE, modules, namespaces\n\n- Message queue and Event Loop\n\n- Expression, statement\n\n- setTimeout, setInterval, requestAnimationFrame\n\n- this, bind, call and apply\n\n- Bitwise operators, type arrays and array buffers\n\n- DOM and Layout trees\n\n- Factories and Classes\n\n- new, constructor, instanceof and instance\n\n- Prototype Inheritance and Prototype Chain\n\n- Object.create and Object.assign\n\n- Closures\n\n- Higher order functions\n\n- Recursion\n\n- Pure functions, side effects, state mutation\n\n- map, reduce, filter\n\n- Collections and Generations\n\n- Promises\n\n- Async/await\n\n- Data Structures\n\n- Expensive Operation and Big-Oh notation\n\n- Algorithms\n\n- Inheritance, Polymophism and Reuse\n\n- Partial Applications, Currying, Compose and Pipe\n\n- Design patterns\n\n- Clean code\n\n## Trở thành một lập trình viên chuẩn mực\n\n### Một số thủ thuật cơ bản (tricks):\n\n- 2 con trỏ (multiple pointers)\n- Dãy tạm\n\nMột số suy nghĩ về việc tối ưu thời gian chạy:\n\n- Dùng bảng băm khi đề bài yêu cầu tìm chính xác (O(1));\n\n- Dùng 2 con trỏ khi cần tìm gần đúng, hoặc tìm kế tiếp (chống vòng lặp for và đệ quy).\n\n- Biết dùng đệ quy đúng cách.\n\n- Dùng cây tìm kiếm tối thiểu trả về giá trị Min, không cần duyệt toàn bộ hay sort().\n\n- Dùng cây tìm kiếm nhị phân, vừa thêm, vừa kiếm.\n\n### Thuật toán\n\n- Đệ quy Backtrack\n- Quy hoạch động - đệ quy có nhớ:\n  - Đếm cách\n  - Dùng ít nhất (chi phí nhỏ nhất)\n- Nhánh cận\n  ...\n\n### Cấu trúc dữ liệu\n\n- Cây nhị phân: tối thiểu, tìm kiếm\n- Graph\n- Hash table, hash map\n  ...\n\n### Khả năng thực chiến - Xây dựng ứng dụng, app ...\n\n- Tìm median (eCommerce)\n- Bài toán đặt phòng\n- Autocomplete\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaudinh%2Fjs-concepts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaudinh%2Fjs-concepts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaudinh%2Fjs-concepts/lists"}