Language | Version | Notes |
---|---|---|
C++ |
clang 17 using the latest C++ 23 standard, and libstdc++ provided by GCC 13. |
Compiled with Your code is compiled with level two optimization ( Most standard library headers are already included automatically for your convenience. |
Java | java 21 |
Most standard library headers are already included automatically for your convenience. Includes |
Python | python 2.7.12 |
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 will not be maintained past 2020. For the latest Python, please choose Python3 instead. |
Python3 | Python 3.11 |
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 | |
MS SQL Server | mssql server 2019 | |
Oracle | Oracle SQL 11.2 | |
C | gcc 13 |
Compiled with Your code is compiled with level one optimization ( Most standard library headers are already included automatically for your convenience. 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. struct hash_entry { int id; /* we'll use this field as the key */ char name[10]; UT_hash_handle hh; /* makes this structure hashable */ }; struct hash_entry *users = NULL; void add_user(struct hash_entry *s) { HASH_ADD_INT(users, id, s); }
2. Looking up an item in a hash: struct hash_entry *find_user(int user_id) { struct hash_entry *s; HASH_FIND_INT(users, &user_id, s); return s; }
3. Deleting an item in a hash: void delete_user(struct hash_entry *user) { HASH_DEL(users, user); } |
C# | C# 12 with .NET 8 runtime |
|
JavaScript | node.js 20.10.0 |
Your code is run with lodash.js library is included by default. For Priority Queue / Queue data structures, you may use 5.4.0 version of datastructures-js/priority-queue and 4.2.3 version of datastructures-js/queue. |
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 4.3.30 | |
Swift | swift 5.9 | You may use swift-algorithms 1.2.0 and swift-collections 1.1.0. |
Go | go 1.22 | Support https://godoc.org/github.com/emirpasic/gods@v1.18.1 library. |
Scala | Scala 3.3.1 | |
Kotlin | Kotlin 1.9.0 | We are using an experimental compiler provided by JetBrains. |
Rust | 1.79.0 | |
PHP | PHP 8.2 | With bcmath module |
Typescript | TypeScript 5.1.6, Node.js 20.10.0 |
Compile Options: Your code is run with lodash.js library is included by default. |
Racket |
Racket CS v8.11 |
Using Required |
Erlang |
Erlang/OTP 26
|
|
Elixir |
Elixir 1.15 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.0.2 and NumPy 1.25.0
|
|
React
|
Node.js 18 with react@18.2.0
|
|
Vanilla JS
|
ECMAScript 2023
|
|