mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
62 lines
3.8 KiB
JSON
62 lines
3.8 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2098",
|
|
"questionFrontendId": "1951",
|
|
"boundTopicId": null,
|
|
"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": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 91,
|
|
"dislikes": 6,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"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]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"10.4K\", \"totalSubmission\": \"15.1K\", \"totalAcceptedRaw\": 10358, \"totalSubmissionRaw\": 15099, \"acRate\": \"68.6%\"}",
|
|
"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": "{\"mysql\": [\"Create table If Not Exists Relations (user_id int, follower_id int)\"], \"mssql\": [\"Create table Relations (user_id int, follower_id int)\"], \"oraclesql\": [\"Create table Relations (user_id int, follower_id int)\"], \"database\": true, \"name\": \"find_pairs\", \"pythondata\": [\"Relations = pd.DataFrame([], columns=['user_id', 'follower_id']).astype({'user_id':'Int64', 'follower_id':'Int64'})\"], \"postgresql\": [\"Create table If Not Exists Relations (user_id int, follower_id int)\"], \"database_schema\": {\"Relations\": {\"user_id\": \"INT\", \"follower_id\": \"INT\"}}}",
|
|
"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,
|
|
"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"
|
|
}
|
|
}
|
|
} |