mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
60 lines
3.6 KiB
JSON
60 lines
3.6 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "614",
|
|
"questionFrontendId": "614",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 2633,
|
|
"title": "Second Degree Follower",
|
|
"titleSlug": "second-degree-follower",
|
|
"content": null,
|
|
"translatedTitle": "二级关注者",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 42,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"16.3K\", \"totalSubmission\": \"43.4K\", \"totalAcceptedRaw\": 16346, \"totalSubmissionRaw\": 43423, \"acRate\": \"37.6%\"}",
|
|
"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,
|
|
"envInfo": "{\"mysql\":[\"MySQL\",\"<p>\\u7248\\u672c\\uff1a<code>MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"<p>mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"<p>Oracle Sql 11.2.<\\/p>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\":{\"Follow\":[\"followee\",\"follower\"]},\"rows\":{\"Follow\":[[\"Alice\", \"Bob\"], [\"Bob\", \"Cena\"], [\"Bob\", \"Donald\"], [\"Donald\", \"Edward\"]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |