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]page-recommendations-ii.json

71 lines
5.2 KiB
JSON
Raw Normal View History

2022-03-27 18:27:43 +08:00
{
"data": {
"question": {
"questionId": "2046",
"questionFrontendId": "1892",
"boundTopicId": null,
"title": "Page Recommendations II",
"titleSlug": "page-recommendations-ii",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Hard",
2023-12-09 18:42:21 +08:00
"likes": 77,
"dislikes": 20,
2022-03-27 18:27:43 +08:00
"isLiked": null,
"similarQuestions": "[{\"title\": \"Page Recommendations\", \"titleSlug\": \"page-recommendations\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Strong Friendship\", \"titleSlug\": \"strong-friendship\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "{\"headers\":{\"Friendship\":[\"user1_id\",\"user2_id\"],\"Likes\":[\"user_id\",\"page_id\"]},\"rows\":{\"Friendship\":[[1,2],[1,3],[1,4],[2,3],[2,4],[2,5],[6,1]],\"Likes\":[[1,88],[2,23],[3,24],[4,56],[5,11],[6,33],[2,77],[3,77],[6,88]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
2023-12-09 19:57:46 +08:00
"stats": "{\"totalAccepted\": \"5.9K\", \"totalSubmission\": \"13.8K\", \"totalAcceptedRaw\": 5900, \"totalSubmissionRaw\": 13768, \"acRate\": \"42.9%\"}",
2022-03-27 18:27:43 +08:00
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Friendship\":[\"user1_id\",\"user2_id\"],\"Likes\":[\"user_id\",\"page_id\"]},\"rows\":{\"Friendship\":[[1,2],[1,3],[1,4],[2,3],[2,4],[2,5],[6,1]],\"Likes\":[[1,88],[2,23],[3,24],[4,56],[5,11],[6,33],[2,77],[3,77],[6,88]]}}",
2023-12-09 18:42:21 +08:00
"metaData": "{\"mysql\": [\"Create table If Not Exists Friendship (user1_id int, user2_id int)\", \"Create table If Not Exists Likes (user_id int, page_id int)\"], \"mssql\": [\"Create table Friendship (user1_id int, user2_id int)\", \"Create table Likes (user_id int, page_id int)\"], \"oraclesql\": [\"Create table Friendship (user1_id int, user2_id int)\", \"Create table Likes (user_id int, page_id int)\"], \"database\": true, \"name\": \"recommend_page\", \"pythondata\": [\"Friendship = pd.DataFrame([], columns=['user1_id', 'user2_id']).astype({'user1_id':'Int64', 'user2_id':'Int64'})\", \"Likes = pd.DataFrame([], columns=['user_id', 'page_id']).astype({'user_id':'Int64', 'page_id':'Int64'})\"], \"postgresql\": [\"\\nCreate table If Not Exists Friendship (user1_id int, user2_id int)\\n\", \"Create table If Not Exists Likes (user_id int, page_id int)\"], \"database_schema\": {\"Friendship\": {\"user1_id\": \"INT\", \"user2_id\": \"INT\"}, \"Likes\": {\"user_id\": \"INT\", \"page_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)",
"Create table If Not Exists Likes (user_id int, page_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 ('1', '4')",
"insert into Friendship (user1_id, user2_id) values ('2', '3')",
"insert into Friendship (user1_id, user2_id) values ('2', '4')",
"insert into Friendship (user1_id, user2_id) values ('2', '5')",
"insert into Friendship (user1_id, user2_id) values ('6', '1')",
"Truncate table Likes",
"insert into Likes (user_id, page_id) values ('1', '88')",
"insert into Likes (user_id, page_id) values ('2', '23')",
"insert into Likes (user_id, page_id) values ('3', '24')",
"insert into Likes (user_id, page_id) values ('4', '56')",
"insert into Likes (user_id, page_id) values ('5', '11')",
"insert into Likes (user_id, page_id) values ('6', '33')",
"insert into Likes (user_id, page_id) values ('2', '77')",
"insert into Likes (user_id, page_id) values ('3', '77')",
"insert into Likes (user_id, page_id) values ('6', '88')"
],
"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"
}
}
}