代码拉取完成,页面将自动刷新
{
"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"
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。