{"id":14112350,"url":"https://github.com/dangsonbk/awesome_stackoverflow","last_synced_at":"2025-08-01T14:33:11.438Z","repository":{"id":108636050,"uuid":"138844949","full_name":"dangsonbk/awesome_stackoverflow","owner":"dangsonbk","description":"List of awesome stackoverflow questions","archived":false,"fork":false,"pushed_at":"2021-02-18T11:03:10.000Z","size":43,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-11T06:05:55.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/dangsonbk.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-06-27T07:22:38.000Z","updated_at":"2022-05-23T07:56:17.000Z","dependencies_parsed_at":"2023-04-23T11:17:20.081Z","dependency_job_id":null,"html_url":"https://github.com/dangsonbk/awesome_stackoverflow","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/dangsonbk%2Fawesome_stackoverflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangsonbk%2Fawesome_stackoverflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangsonbk%2Fawesome_stackoverflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangsonbk%2Fawesome_stackoverflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dangsonbk","download_url":"https://codeload.github.com/dangsonbk/awesome_stackoverflow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228210018,"owners_count":17885594,"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":[],"created_at":"2024-08-14T10:03:43.822Z","updated_at":"2024-12-05T23:30:58.248Z","avatar_url":"https://github.com/dangsonbk.png","language":null,"readme":"# The list of awesome Stackoverflow's answers and questions\n\nYou can find many of them in [this list](https://stackoverflow.com/questions?sort=votes).\nI'm adding more and more. If you like to contribute, feel free to create Pull requests.\n\n- [General problems](#general-problems-algorithm-cs-performance-)\n- [Programming languages](#programming-languages)\n    - [C/C++](#cc)\n    - [Python](#python)\n    - [JavaScript](#javascript)\n    - [Uncategory](#uncategory)\n\n- [Entertaining](#entertaining)\n---\n\n# General problems: Algorithm, CS, Performance ...\n\n- [What and where are the stack and heap?](https://stackoverflow.com/questions/79923/what-and-where-are-the-stack-and-heap)\n- [Why is printing “B” dramatically slower than printing “#”?](https://stackoverflow.com/questions/21947452/why-is-printing-b-dramatically-slower-than-printing)\n- [Why is my program slow when looping over exactly 8192 elements?](https://stackoverflow.com/questions/12264970/why-is-my-program-slow-when-looping-over-exactly-8192-elements)\n- [Why are elementwise additions much faster in separate loops than in a combined loop?](https://stackoverflow.com/questions/8547778/why-are-elementwise-additions-much-faster-in-separate-loops-than-in-a-combined-l)\n- [Why is it faster to process a sorted array than an unsorted array?](https://stackoverflow.com/questions/11227809/why-is-it-faster-to-process-a-sorted-array-than-an-unsorted-array) :star2::star2::star2::star2::star2:\n- (StackExchange)[Which hashing algorithm is best for uniqueness and speed?](https://softwareengineering.stackexchange.com/questions/49550/which-hashing-algorithm-is-best-for-uniqueness-and-speed)\n- (StackExchange)[Which algorithms/data structures should I “recognize” and know by name? [closed]](https://softwareengineering.stackexchange.com/questions/155639/which-algorithms-data-structures-should-i-recognize-and-know-by-name)\n\n# Programming languages\n\n## C/C++\n\nBasic\n\n- [When do you use the “this” keyword?](https://stackoverflow.com/questions/23250/when-do-you-use-the-this-keyword)\n- [How do you set, clear, and toggle a single bit?](https://stackoverflow.com/questions/47981/how-do-you-set-clear-and-toggle-a-single-bit)\n- [What is the difference between `#include \u003cfilename\u003e` and `#include “filename”`?](https://stackoverflow.com/questions/21593/what-is-the-difference-between-include-filename-and-include-filename)\n- [In what cases do I use malloc vs new?](https://stackoverflow.com/questions/184537/in-what-cases-do-i-use-malloc-vs-new)\n- [How to allocate aligned memory only using the standard library?](https://stackoverflow.com/questions/227897/how-to-allocate-aligned-memory-only-using-the-standard-library)\n- [What is meant by Resource Acquisition is Initialization (RAII)?](https://stackoverflow.com/questions/2321511/what-is-meant-by-resource-acquisition-is-initialization-raii)\n- [How do I iterate over the words of a string?](https://stackoverflow.com/questions/236129/how-do-i-iterate-over-the-words-of-a-string)\n- [Declaring variables inside loops, good practice or bad practice?](https://stackoverflow.com/questions/7959573/declaring-variables-inside-loops-good-practice-or-bad-practice)\n- [What does the explicit keyword mean?](https://stackoverflow.com/questions/121162/what-does-the-explicit-keyword-mean)\n\nMore Complex\n\n- [Can a local variable's memory be accessed outside its scope?](https://stackoverflow.com/questions/6441218/can-a-local-variables-memory-be-accessed-outside-its-scope)\n- [Why should C++ programmers minimize use of 'new'?](https://stackoverflow.com/questions/6500313/why-should-c-programmers-minimize-use-of-new)\n- [What does the thread_local mean in C++11?](https://stackoverflow.com/questions/11983875/what-does-the-thread-local-mean-in-c11)\n- [What is The Rule of Three?](https://stackoverflow.com/questions/4172722/what-is-the-rule-of-three)\n\n## Python\n\n- [How do I check if a list is empty?](https://stackoverflow.com/questions/53513/how-do-i-check-if-a-list-is-empty) \n- [Checking whether a variable is an integer or not](https://stackoverflow.com/questions/3501382/checking-whether-a-variable-is-an-integer-or-not)\n- [Does Python have a ternary conditional operator?](https://stackoverflow.com/questions/394809/does-python-have-a-ternary-conditional-operator)\n- [How do I check whether a file exists?](https://stackoverflow.com/questions/82831/how-do-i-check-whether-a-file-exists)\n- [What does the `yield` keyword do?](https://stackoverflow.com/questions/231767/what-does-the-yield-keyword-do?rq=1)\n- [What is `__init__.py` for?](https://stackoverflow.com/questions/448271/what-is-init-py-for)\n- [What does if `__name__ == “__main__”`: do?](https://stackoverflow.com/questions/419163/what-does-if-name-main-do)\n- [How to merge two dictionaries in a single expression?](https://stackoverflow.com/questions/38987/how-to-merge-two-dictionaries-in-a-single-expression)\n- [Difference between append vs. extend list methods in Python](https://stackoverflow.com/questions/252703/difference-between-append-vs-extend-list-methods-in-python) \n- [What are metaclasses in Python?](https://stackoverflow.com/questions/100003/what-are-metaclasses-in-python)\n- [How to clone or copy a list?](https://stackoverflow.com/questions/2612802/how-to-clone-or-copy-a-list)\n- [How is set() implemented?](https://stackoverflow.com/questions/3949310/how-is-set-implemented)\n- [Python join: why is it string.join(list) instead of list.join(string)](https://stackoverflow.com/questions/493819/python-join-why-is-it-string-joinlist-instead-of-list-joinstring)\n\n## JavaScript\n\n- [What is the !! (not not) operator in JavaScript?](https://stackoverflow.com/questions/784929/what-is-the-not-not-operator-in-javascript)\n- [Which equals operator (== vs ===) should be used in JavaScript comparisons?](https://stackoverflow.com/questions/359494/which-equals-operator-vs-should-be-used-in-javascript-comparisons)\n- [How do I remove a particular element from an array in JavaScript?](https://stackoverflow.com/questions/5767325/how-do-i-remove-a-particular-element-from-an-array-in-javascript)\n- [How do JavaScript closures work?](https://stackoverflow.com/questions/111102/how-do-javascript-closures-work)\n- [How to check whether a string contains a substring in JavaScript?](https://stackoverflow.com/questions/1789945/how-to-check-whether-a-string-contains-a-substring-in-javascript)\n- [How to replace all occurrences of a string in JavaScript?](https://stackoverflow.com/questions/1144783/how-to-replace-all-occurrences-of-a-string-in-javascript)\n\n## Uncategory\n- [How to sleep for five seconds in a batch file/cmd](https://stackoverflow.com/questions/1672338/how-to-sleep-for-five-seconds-in-a-batch-file-cmd)\n\n# Entertaining\n- [Why does HTML think “chucknorris” is a color?](https://stackoverflow.com/questions/8318911/why-does-html-think-chucknorris-is-a-color) :muscle:\n- [What is the best comment in source code you have ever encountered? [closed]\n](https://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered)\n- [Why does `++[[]][+[]]+[+[]]` return the string “10”?](https://stackoverflow.com/questions/7202157/why-does-return-the-string-10)\n- [Is it possible to disable the network in iOS Simulator?](https://stackoverflow.com/questions/4808433/is-it-possible-to-disable-the-network-in-ios-simulator) [this answer](https://stackoverflow.com/a/13831212/2964364)\n- [What is the “--\u003e” operator in C++?](https://stackoverflow.com/questions/1642028/what-is-the-operator-in-c)\n- [GitHub satanically messing with Markdown - changes 666 to DCLXVI](https://stackoverflow.com/questions/44619165/github-satanically-messing-with-markdown-changes-666-to-dclxvi)\n","funding_links":[],"categories":["Other Lists"],"sub_categories":["TeX Lists"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdangsonbk%2Fawesome_stackoverflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdangsonbk%2Fawesome_stackoverflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdangsonbk%2Fawesome_stackoverflow/lists"}