get_problem
Retrieve detailed information about a specific LeetCode problem, including its description, examples, constraints, and related data, using the problem's URL slug as the input.
Instructions
Retrieves details about a specific LeetCode problem, including its description, examples, constraints, and related information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
titleSlug | Yes | The URL slug/identifier of the problem (e.g., 'two-sum', 'add-two-numbers') as it appears in the LeetCode URL |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"titleSlug": {
"description": "The URL slug/identifier of the problem (e.g., 'two-sum', 'add-two-numbers') as it appears in the LeetCode URL",
"type": "string"
}
},
"required": [
"titleSlug"
],
"type": "object"
}