Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nikiforovall/leetcode-playground-fsharp-template


https://github.com/nikiforovall/leetcode-playground-fsharp-template

fsharp leetcode leetcode-fsharp

Last synced: 20 days ago
JSON representation

Awesome Lists containing this project

README

        

# Leetcode-playground-fsharp

![.NET](https://github.com/NikiforovAll/leetcode-playground-fsharp-template/workflows/.NET/badge.svg)
[![GitHub License](https://img.shields.io/github/license/nikiforovall/leetcode-playground-fsharp-template)](./LICENSE.md)
[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/NikiforovAll/leetcode-playground-fsharp-template)

This template allows you to solve leetcode problems locally via F#.

Leetcode url:

| # | Title | Solution | Basic idea (One line) |
|---| ----- | -------- | --------------------- |
| 1 | [Two Sum](https://leetcode.com/problems/two-sum/) | 1.two-sum.fs | 1. Hash O(n) and O(n) space.
2. Sort and search with two points O(n) and O(1) space. |