I agree it's strange, especially given that Perl
is now a respectable 11th at Tiobe.
My guess is that the LeetCode supported languages are simply
based on their skill sets and personal preferences.
They may add Perl and other highly rated Tiobe languages later.
For fun, I listed the TIOBE Index
of their supported languages:
- Bash - 48th at Tiobe
- C - 2nd at Tiobe
- C++ - 4th at Tiobe
- C# - 5th at Tiobe
- Dart - 26th at Tiobe
- ECMAScript - not listed at Tiobe (ECMAScript is a specification or standard, JavaScript is the most popular implementation of that standard)
- Elixir - 39th at Tiobe
- Erlang - 43rd at Tiobe
- Go - 16th at Tiobe
- Java - 3rd at Tiobe
- JavaScript - 6th at Tiobe
- Kotlin - 20th at Tiobe
- PHP - 15th at Tiobe
- Python - 1st at Tiobe
- Racket - 50-100th at Tiobe
- Ruby - 27th at Tiobe
- Rust - 13th at Tiobe
- Scala - 33rd at Tiobe
- Swift - 22nd at Tiobe
- TypeScript - 32nd at Tiobe
See also : Comparing Programming Languages References