Category: javascript
In Python, the enumerate function is an iterator that returns/yield each time a tuple that contains an index (starting from 0 and incrementing) and the element in the list. …
Last week, we talked about the loops (for and while), this week, we’ll learn the basics of the LED screen of the Microbit. Basics of LED The LED is …
Reverse a singly linked list. Example: Input: 1->2->3->4->5->NULL Output: 5->->->2->1->NULL Follow up: A linked list can be reversed either iteratively or recursively. Could you implement both? Reversing a linked …
Given a list of directory info including directory path, and all the files with contents in this directory, you need to find out all the groups of duplicate files …
What are Promises in Javascript? and what are the async/await? If you are using Javascript, these technologies are something that you don’t want to miss. Christmas Tree Code Let’s …