Supporting Deno for code submission

It would be the best to support Deno runtime for code submission on LeetCode. Deno is a new secure TypeScript runtime on V8. This means LeetCode supports TypeScript and we won't suffer from runtime errors due to types.

https://deno.land

What's more, its import system supports to use any module via URL. For instance if you want to use heap data structure, which dosen't exist in JavaScript, you can import it with just import BinaryHeap from "https://gist.githubusercontent.com/axross/78c8ac170b27b16c801e96916ce51c26/raw/12c5f0b6591f98fe506612b993da7568a3464b51/BinaryHeap.ts" (This causes HTTP request but you can control to pass or deny it via CLI). Which means you can focus on algorithm problem, not supported feature on the language.

I would like LeetCode team to consider about it. Thank you!

Comments (2)