| Language | Version | Notes |
|---|---|---|
| C++ |
clang 19 using the latest C++ 23 standard, and libstdc++ provided by GCC 14. |
Compiled with Your code is compiled with level two optimization ( Most standard library headers are already included automatically for your convenience. |
| Java | java 25 |
Most standard library headers are already included automatically for your convenience. Includes |
| Python | python 2.7.18 |
Most libraries are already imported automatically for your convenience, such as array, bisect, collections. If you need more libraries, you can import it yourself. For Map/TreeMap data structure, you may use sortedcontainers library. Note that Python 2.7 is not maintained anymore. For the latest Python, please choose Python3 instead. |
| Python3 | Python 3.14 |
Most libraries are already imported automatically for your convenience, such as array, bisect, collections. If you need more libraries, you can import it yourself. For Map/TreeMap data structure, you may use sortedcontainers library. |
| MySQL | MySQL 8.0 | Note: For legacy reason, we didn't enable any SQL mode, including ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE, ERROR_FOR_DIVISION_BY_ZERO and more. |
| MS SQL Server | mssql server 2019 | |
| Oracle | Oracle SQL 11.2 | |
| C | gcc 14 |
Compiled with Your code is compiled with level one optimization ( Most standard library headers are already included automatically for your convenience. You may use data structures from GLib 2.0, such as GQueue, GTree and more. For hash table operations, you may use uthash. "uthash.h" is included by default. Below are some examples: 1. Adding an item to a hash.
2. Looking up an item in a hash:
3. Deleting an item in a hash:
|
| C# | C# 14 with .NET 10 runtime | |
| JavaScript | node.js 22.14.0 |
Your code is run with lodash.js@4.17.21 library is included by default. You may use data structures from datastructures-js library. Version info: "@datastructures-js/binary-search-tree": "5.4.0" "@datastructures-js/deque": "1.0.8" "@datastructures-js/graph": "5.3.1" "@datastructures-js/heap": "4.3.7" "@datastructures-js/linked-list": "6.1.4" "@datastructures-js/priority-queue": "6.3.5" "@datastructures-js/queue": "4.3.0" "@datastructures-js/set": "4.2.2" "@datastructures-js/stack": "3.1.6" "@datastructures-js/trie": "4.2.3" For Binary Search Tree, Trie, and Graph, please import them manually when you need to use them, as their names conflict with certain problems. |
| Ruby | ruby 3.2 | Some common data structure implementations are provided in the Algorithms module: https://www.rubydoc.info/github/kanwei/algorithms/Algorithms |
| Bash | bash 5.2.21 | |
| Swift | swift 6.0 | You may use swift-algorithms 1.2.0 and swift-collections 1.1.4 and swift-numerics 1.0.2. |
| Go | go 1.23 | Support https://godoc.org/github.com/emirpasic/gods@v1.18.1 and https://pkg.go.dev/github.com/emirpasic/gods/v2@v2.0.0-alpha library. |
| Scala | Scala 3.3.1 | |
| Kotlin | Kotlin 2.1.10 | |
| Rust | 1.88.0 |
Using edition 2024. Your code will be compiled with opt-level 2. Supports rand v0.8 and regex v1 and itertools v0.14 from crates.io |
| PHP | PHP 8.2 | With bcmath module |
| Typescript | TypeScript 5.7.3, Node.js 22.14.0 | Compile Options: lodash.js@4.16.21 library is included by default. You may use data structures from datastructures-js library. Version info: "@datastructures-js/binary-search-tree": "5.4.0" "@datastructures-js/deque": "1.0.8" "@datastructures-js/graph": "5.3.1" "@datastructures-js/heap": "4.3.7" "@datastructures-js/linked-list": "6.1.4" "@datastructures-js/priority-queue": "6.3.5" "@datastructures-js/queue": "4.3.0" "@datastructures-js/set": "4.2.2" "@datastructures-js/stack": "3.1.6" "@datastructures-js/trie": "4.2.3" For Binary Search Tree, Trie, and Graph, please import them manually like the following when you need to use them, as their names conflict with certain problems. |
| Racket | Racket CS v8.15 | Using Required |
| Erlang | Erlang/OTP 26 |
|
| Elixir | Elixir 1.17 with Erlang/OTP 26 |
|
| Dart | Dart 3.2 |
You may use package collection. Your code will be run directly without compiling |
PostgreSQL |
PostgreSQL 16 |
|
Pandas |
Python 3.10 with Pandas 2.2.2 and NumPy 1.26.4 |
|
React |
Node.js 18 with react@18.2.0 |
|
Vanilla JS |
ECMAScript 2023 |