mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-11 02:58:13 +08:00
65 lines
3.5 KiB
JSON
65 lines
3.5 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2098",
|
|
"questionFrontendId": "1951",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 908792,
|
|
"title": "All the Pairs With the Maximum Number of Common Followers",
|
|
"titleSlug": "all-the-pairs-with-the-maximum-number-of-common-followers",
|
|
"content": null,
|
|
"translatedTitle": "查询具有最多共同关注者的所有两两结对组",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 5,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"1.2K\", \"totalSubmission\": \"1.7K\", \"totalAcceptedRaw\": 1182, \"totalSubmissionRaw\": 1676, \"acRate\": \"70.5%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Relations\":[\"user_id\",\"follower_id\"]},\"rows\":{\"Relations\":[[1,3],[2,3],[7,3],[1,4],[2,4],[7,4],[1,5],[2,6],[7,5]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Relations (user_id int, follower_id int)\"\n ],\n \"mssql\": [\n \"Create table Relations (user_id int, follower_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Relations (user_id int, follower_id int)\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Relations (user_id int, follower_id int)",
|
|
"Truncate table Relations",
|
|
"insert into Relations (user_id, follower_id) values ('1', '3')",
|
|
"insert into Relations (user_id, follower_id) values ('2', '3')",
|
|
"insert into Relations (user_id, follower_id) values ('7', '3')",
|
|
"insert into Relations (user_id, follower_id) values ('1', '4')",
|
|
"insert into Relations (user_id, follower_id) values ('2', '4')",
|
|
"insert into Relations (user_id, follower_id) values ('7', '4')",
|
|
"insert into Relations (user_id, follower_id) values ('1', '5')",
|
|
"insert into Relations (user_id, follower_id) values ('2', '6')",
|
|
"insert into Relations (user_id, follower_id) values ('7', '5')"
|
|
],
|
|
"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>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\":{\"Relations\":[\"user_id\",\"follower_id\"]},\"rows\":{\"Relations\":[[1,3],[2,3],[7,3],[1,4],[2,4],[7,4],[1,5],[2,6],[7,5]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |