Programming Languages & Algorithms Encyclopedia

Your comprehensive guide to programming languages, data structures, algorithms, and computational complexity. Explore detailed explanations, code examples, and performance comparisons.

Explore Languages

Programming Languages

Popular
Web Development
Mobile
System Programming
Functional

HTML5

Markup language for structuring web content.

CSS3

Style sheet language for describing presentation.

JavaScript

Programming language for interactive web pages.

PHP

Server-side scripting language for web development.

Swift

Apple's programming language for iOS and macOS.

Kotlin

Modern language for Android development.

React Native

Framework for building native apps with React.

Dart

Language for Flutter cross-platform development.

Algorithms Encyclopedia

Sorting Algorithms

Algorithms that arrange elements in a particular order.

Search Algorithms

Algorithms for finding specific items in data structures.

Graph Algorithms

Algorithms that operate on graph data structures.

Sorting Algorithms

Quick Sort

A divide-and-conquer algorithm that works by selecting a 'pivot' element and partitioning the array around the pivot.

Best Case

O(n log n)

Average Case

O(n log n)

Worst Case

O(n²)

Merge Sort

An efficient, stable, comparison-based, divide and conquer sorting algorithm.

Best Case

O(n log n)

Average Case

O(n log n)

Worst Case

O(n log n)

Graph Algorithms

Dijkstra's Algorithm

An algorithm for finding the shortest paths between nodes in a graph, which may represent road networks.

Time Complexity

O(V²)

Space Complexity

O(V)

Breadth-First Search

An algorithm for traversing or searching tree or graph data structures starting from the root node.

Time Complexity

O(V + E)

Space Complexity

O(V)

Data Structures

Linear Structures

Data elements arranged in sequential order.

Tree Structures

Hierarchical data structures with root and child nodes.

Graph Structures

Collections of nodes connected by edges.

Advanced Structures

Specialized data structures for specific use cases.

Complexity Analysis

Algorithm Best Case Average Case Worst Case Space Complexity
Bubble Sort O(n) O(n²) O(n²) O(1)
Quick Sort O(n log n) O(n log n) O(n²) O(log n)
Merge Sort O(n log n) O(n log n) O(n log n) O(n)
Binary Search O(1) O(log n) O(log n) O(1)

Programming Statistics

+250

Programming Languages

+1000

Algorithms Cataloged

26M+

Developers Worldwide

200B+

Lines of Code Written