Skip to content

Add TypeScript Algorithm Documentation and Examples #2653

@trushi-jasani

Description

@trushi-jasani

Have you read the Contributing Guidelines on issues?

Description

Documentation Request

The Algo repository currently provides algorithm implementations and documentation for multiple programming languages, including C, C++, Java, Python, JavaScript, Go, Rust, C#, and SQL. However, TypeScript documentation and examples are not available.

This documentation request aims to introduce comprehensive TypeScript support across the repository by adding documentation, examples, and contribution guidelines for TypeScript-based algorithm implementations.

Proposed Changes

  • Add a dedicated TypeScript section to the Languages documentation.

  • Document the recommended folder structure for TypeScript algorithms.

  • Add TypeScript examples for common algorithms such as:

    • Bubble Sort
    • Selection Sort
    • Insertion Sort
    • Merge Sort
    • Quick Sort
    • Binary Search
    • BFS
    • DFS
    • Dijkstra's Algorithm
  • Include time and space complexity analysis for each example.

  • Add contribution guidelines for developers submitting TypeScript solutions.

  • Update any language navigation pages to include TypeScript.

Benefits

  • Expands language coverage of the repository.
  • Helps web developers learn DSA using TypeScript.
  • Encourages contributions from the TypeScript community.
  • Keeps the repository aligned with modern software development practices.

Acceptance Criteria

  • TypeScript documentation section created.
  • At least 5 documented TypeScript algorithm examples added.
  • Navigation/sidebar updated if required.
  • Documentation follows repository standards.
  • All links and examples are verified.

Additional Information

TypeScript has become one of the most widely used languages in modern web development. Adding TypeScript documentation will make the Algo repository more accessible to developers working with React, Next.js, Node.js, Angular, and other TypeScript-based ecosystems.

Self-service

  • I'd be willing to address this documentation request myself.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or requestgssoc-26Official label for all GSSoC 2026 related issues and pull requests.gssoc:approvedVerified issue or PR that meets all project standards and is ready for the next step.in-reviewIndicates that the pull request or issue is currently under review.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions