Skip to main content
Glama
constants.ts2.47 kB
/** * Programming languages officially supported by LeetCode for problem submissions. * These language identifiers are used when filtering submissions or submitting solutions. */ export const PROGRAMMING_LANGS: string[] = [ "cpp", "java", "python", "python3", "c", "csharp", "javascript", "typescript", "php", "swift", "kotlin", "dart", "golang", "ruby", "scala", "rust", "racket", "erlang", "elixir", "cangjie" ]; /** * LeetCode problem categories that can be used when searching for problems. * These categories represent different domains of programming challenges. */ export const PROBLEM_CATEGORIES: string[] = [ "all-code-essentials", "algorithms", "database", "pandas", "javascript", "shell", "concurrency" ]; /** * LeetCode problem tags that can be used to filter problems by topic area. * These tags represent specific algorithm techniques, data structures, or problem domains. */ export const PROBLEM_TAGS: string[] = [ "array", "string", "hash-table", "dynamic-programming", "math", "sorting", "greedy", "depth-first-search", "binary-search", "database", "tree", "breadth-first-search", "matrix", "bit-manipulation", "two-pointers", "binary-tree", "heap-priority-queue", "prefix-sum", "stack", "simulation", "graph", "counting", "sliding-window", "design", "backtracking", "enumeration", "linked-list", "union-find", "ordered-set", "monotonic-stack", "number-theory", "trie", "segment-tree", "recursion", "divide-and-conquer", "queue", "combinatorics", "binary-search-tree", "bitmask", "memoization", "geometry", "binary-indexed-tree", "hash-function", "topological-sort", "string-matching", "shortest-path", "rolling-hash", "game-theory", "data-stream", "interactive", "monotonic-queue", "brainteaser", "doubly-linked-list", "merge-sort", "randomized", "quickselect", "counting-sort", "iterator", "probability-and-statistics", "concurrency", "bucket-sort", "suffix-array", "line-sweep", "minimum-spanning-tree", "shell", "reservoir-sampling", "strongly-connected-component", "eulerian-circuit", "radix-sort", "biconnected-component", "rejection-sampling" ];

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jinzcdev/leetcode-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server