Skip to main content

12 docs tagged with "javascript"

View all tags

Callback Functions

Learn about Callback Functions, the difference between synchronous and asynchronous callbacks, and how to handle asynchronous operations.

Default Parameters

Learn about Default Parameters, their syntax, usage rules, and important gotchas across programming languages.

First-Class Functions

Learn about First-Class Functions, the criteria that make functions first-class citizens, and examples across major programming languages.

Fractional Knapsack Problem 2

In this blog post, we'll explore the Fractional Knapsack Problem, a greedy algorithm used to maximize the value of items that can be carried in a knapsack with a weight limit.

Function Expressions

Learn about Function Expressions, their syntax, usage, and key differences from Function Declarations.

Introduction to JavaScript

Want to learn JavaScript? Discover what JS is, how it works under the hood, and how it brings static HTML web pages to life with real-world examples.

Node.js Cheatsheet

Complete quick reference for Node.js - Core modules, npm, async patterns, and best practices.

React Cheatsheet

Complete quick reference for modern React - Hooks, Components, Patterns, and Best Practices.

Time Complexity

Time Complexity is a measure of the amount of time an algorithm takes to solve a problem as a function of the size of the input to the problem. It is commonly estimated by counting the number of elementary operations performed by the algorithm, where an elementary operation takes a fixed amount of time to perform.