mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
53 lines
2.9 KiB
JSON
53 lines
2.9 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "3259",
|
|
"questionFrontendId": "3054",
|
|
"boundTopicId": null,
|
|
"title": "Binary Tree Nodes",
|
|
"titleSlug": "binary-tree-nodes",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 2,
|
|
"dislikes": 1,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Tree\":[\"N\",\"P\"]},\"rows\":{\"Tree\":[[1,2],[3,2],[6,8],[9,8],[2,5],[8,5],[5,null]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"204\", \"totalSubmission\": \"250\", \"totalAcceptedRaw\": 204, \"totalSubmissionRaw\": 250, \"acRate\": \"81.6%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Tree\":[\"N\",\"P\"]},\"rows\":{\"Tree\":[[1,2],[3,2],[6,8],[9,8],[2,5],[8,5],[5,null]]}}",
|
|
"metaData": "{\"mysql\": [\"Create table If Not Exists Tree (N int,P int)\"], \"mssql\": [\"Create table Tree (N int,P int)\"], \"oraclesql\": [\"Create table Tree (N int,P int)\"], \"database\": true, \"name\": \"binary_tree_nodes\", \"pythondata\": [\"Tree = pd.DataFrame([], columns=['N', 'P']).astype({'N':'Int64', 'P':'Int64'})\"], \"postgresql\": [\"Create table If Not Exists Tree (N int,P int)\\n\"], \"database_schema\": {\"Tree\": {\"N\": \"INT\", \"P\": \"INT\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Tree (N int,P int)",
|
|
"Truncate table Tree",
|
|
"insert into Tree (N, P) values ('1', '2')",
|
|
"insert into Tree (N, P) values ('3', '2')",
|
|
"insert into Tree (N, P) values ('6', '8')",
|
|
"insert into Tree (N, P) values ('9', '8')",
|
|
"insert into Tree (N, P) values ('2', '5')",
|
|
"insert into Tree (N, P) values ('8', '5')",
|
|
"insert into Tree (N, P) values ('5', 'None')"
|
|
],
|
|
"enableRunCode": true,
|
|
"enableTestMode": false,
|
|
"enableDebugger": false,
|
|
"envInfo": "{\"mysql\": [\"MySQL\", \"<p><code>MySQL 8.0</code>.</p>\"], \"mssql\": [\"MS SQL Server\", \"<p><code>mssql server 2019</code>.</p>\"], \"oraclesql\": [\"Oracle\", \"<p><code>Oracle Sql 11.2</code>.</p>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
|
|
"libraryUrl": null,
|
|
"adminUrl": null,
|
|
"challengeQuestion": null,
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |