Uncategorized

10  Important Concepts For Coding (algorithms and data structures)

The logarithm the math concept Understand how the logarithm works Why a logarithmic time operation or algorithm is so much faster and therefore better than a linear time algorithm or operation? 2. Graph traversal Pre-traversal, matrix traversal (because matrices are basically kind of like graphs in a way. You have to know how to do …

10  Important Concepts For Coding (algorithms and data structures) Read More »

The time complexity of map_Improve the efficiency of code operation – the magic use of Map

Multiple nested for loops are too ugly and inefficient. Is there any way to reduce the number of nested levels? How can I get the data I want concisely and elegantly in the game, and have a good smart prompt effect? Is there a general solution to improve operational efficiency? That’s right, es6’s Map is …

The time complexity of map_Improve the efficiency of code operation – the magic use of Map Read More »

Scroll to Top