1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]strong-friendship.json

65 lines
4.4 KiB
JSON
Raw Normal View History

2022-03-27 18:27:43 +08:00
{
"data": {
"question": {
"questionId": "2097",
"questionFrontendId": "1949",
"boundTopicId": null,
"title": "Strong Friendship",
"titleSlug": "strong-friendship",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
2023-12-09 18:42:21 +08:00
"likes": 138,
"dislikes": 79,
2022-03-27 18:27:43 +08:00
"isLiked": null,
"similarQuestions": "[{\"title\": \"Page Recommendations\", \"titleSlug\": \"page-recommendations\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Page Recommendations II\", \"titleSlug\": \"page-recommendations-ii\", \"difficulty\": \"Hard\", \"translatedTitle\": null}, {\"title\": \"Leetcodify Friends Recommendations\", \"titleSlug\": \"leetcodify-friends-recommendations\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
"exampleTestcases": "{\"headers\":{\"Friendship\":[\"user1_id\",\"user2_id\"]},\"rows\":{\"Friendship\":[[1,2],[1,3],[2,3],[1,4],[2,4],[1,5],[2,5],[1,7],[3,7],[1,6],[3,6],[2,6]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
2023-12-09 18:42:21 +08:00
"stats": "{\"totalAccepted\": \"10.5K\", \"totalSubmission\": \"19.2K\", \"totalAcceptedRaw\": 10473, \"totalSubmissionRaw\": 19199, \"acRate\": \"54.5%\"}",
2022-03-27 18:27:43 +08:00
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Friendship\":[\"user1_id\",\"user2_id\"]},\"rows\":{\"Friendship\":[[1,2],[1,3],[2,3],[1,4],[2,4],[1,5],[2,5],[1,7],[3,7],[1,6],[3,6],[2,6]]}}",
2023-12-09 18:42:21 +08:00
"metaData": "{\"mysql\": [\"Create table If Not Exists Friendship (user1_id int, user2_id int)\"], \"mssql\": [\"Create table Friendship (user1_id int, user2_id int)\"], \"oraclesql\": [\"Create table Friendship (user1_id int, user2_id int)\"], \"database\": true, \"name\": \"strong_friendship\", \"pythondata\": [\"Friendship = pd.DataFrame([], columns=['user1_id', 'user2_id']).astype({'user1_id':'Int64', 'user2_id':'Int64'})\"], \"postgresql\": [\"Create table If Not Exists Friendship (user1_id int, user2_id int)\"], \"database_schema\": {\"Friendship\": {\"user1_id\": \"INT\", \"user2_id\": \"INT\"}}}",
2022-03-27 18:27:43 +08:00
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Friendship (user1_id int, user2_id int)",
"Truncate table Friendship",
"insert into Friendship (user1_id, user2_id) values ('1', '2')",
"insert into Friendship (user1_id, user2_id) values ('1', '3')",
"insert into Friendship (user1_id, user2_id) values ('2', '3')",
"insert into Friendship (user1_id, user2_id) values ('1', '4')",
"insert into Friendship (user1_id, user2_id) values ('2', '4')",
"insert into Friendship (user1_id, user2_id) values ('1', '5')",
"insert into Friendship (user1_id, user2_id) values ('2', '5')",
"insert into Friendship (user1_id, user2_id) values ('1', '7')",
"insert into Friendship (user1_id, user2_id) values ('3', '7')",
"insert into Friendship (user1_id, user2_id) values ('1', '6')",
"insert into Friendship (user1_id, user2_id) values ('3', '6')",
"insert into Friendship (user1_id, user2_id) values ('2', '6')"
],
"enableRunCode": true,
"enableTestMode": false,
"enableDebugger": false,
2023-12-09 18:42:21 +08:00
"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>\"]}",
2022-03-27 18:27:43 +08:00
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}