Box Model Mneumonics
What are those four parts of the Css Pimary Box Model again…?
software engineer
What are those four parts of the Css Pimary Box Model again…?
This brief builds toward a strategy for testing the validity of a linked tree; recursive and iterative implementations are provided in Javascript and Python. A linked tree refers to a binary search tree (“BST”) implemented via a linked list. The premise entails some preliminary question-posing. Before we can ask what it means for a linked tree to be valid, we ought to untangle the distinctions between linked tree, linked list, and BST. What even is a tree?
This post situates regular expressions or “regex” within the computer science context of regular grammar and finite automata.
Many entities in a JS runtime environment can turn out to be undefined
. According to ES specs, “Any variable that has not been assigned a value has the value undefined
.” It strikes me as conceptually inconsistent to tack onto the above that any variable that has been assigned a value can also have the value undefined
to signify the absence of any value.
This article’s a journey: The goal is to build to an understanding of generators from the ground up, detailing the intuitions behind why generators, and JavaScript generators in particular, work the way they do. Surprises along the way include iterables, symbols, coroutines, and async/await. Let’s dive into square one!
Minimizing lookup times is a central problem in data management, particularly for large applications. Linear lookup time is bad. Sublinear lookup time is better. Constant lookup is ideal.