mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
57 lines
3.5 KiB
JSON
57 lines
3.5 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "614",
|
|
"questionFrontendId": "614",
|
|
"boundTopicId": null,
|
|
"title": "Second Degree Follower",
|
|
"titleSlug": "second-degree-follower",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 152,
|
|
"dislikes": 742,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Follow\":[\"followee\",\"follower\"]},\"rows\":{\"Follow\":[[\"Alice\", \"Bob\"], [\"Bob\", \"Cena\"], [\"Bob\", \"Donald\"], [\"Donald\", \"Edward\"]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"50.2K\", \"totalSubmission\": \"132K\", \"totalAcceptedRaw\": 50170, \"totalSubmissionRaw\": 132010, \"acRate\": \"38.0%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Follow\":[\"followee\",\"follower\"]},\"rows\":{\"Follow\":[[\"Alice\", \"Bob\"], [\"Bob\", \"Cena\"], [\"Bob\", \"Donald\"], [\"Donald\", \"Edward\"]]}}",
|
|
"metaData": "{\"mysql\": [\"Create table If Not Exists Follow (followee varchar(255), follower varchar(255))\"], \"mssql\": [\"Create table Follow (followee varchar(255), follower varchar(255))\"], \"oraclesql\": [\"Create table Follow (followee varchar(255), follower varchar(255))\"], \"database\": true, \"name\": \"second_degree_follower\", \"pythondata\": [\"Follow = pd.DataFrame([], columns=['followee', 'follower']).astype({'followee':'object', 'follower':'object'})\"], \"postgresql\": [\"\\nCreate table If Not Exists Follow (followee varchar(255), follower varchar(255))\"], \"database_schema\": {\"Follow\": {\"followee\": \"VARCHAR(255)\", \"follower\": \"VARCHAR(255)\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Follow (followee varchar(255), follower varchar(255))",
|
|
"Truncate table Follow",
|
|
"insert into Follow (followee, follower) values ('Alice', 'Bob')",
|
|
"insert into Follow (followee, follower) values ('Bob', 'Cena')",
|
|
"insert into Follow (followee, follower) values ('Bob', 'Donald')",
|
|
"insert into Follow (followee, follower) values ('Donald', 'Edward')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |