mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 19:31:42 +08:00
add leetcode problem-cn part4
This commit is contained in:
74
算法题(国内版)/originData/[no content]page-recommendations-ii.json
Normal file
74
算法题(国内版)/originData/[no content]page-recommendations-ii.json
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "2046",
|
||||
"questionFrontendId": "1892",
|
||||
"categoryTitle": "Database",
|
||||
"boundTopicId": 826248,
|
||||
"title": "Page Recommendations II",
|
||||
"titleSlug": "page-recommendations-ii",
|
||||
"content": null,
|
||||
"translatedTitle": "页面推荐Ⅱ",
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Hard",
|
||||
"likes": 6,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"contributors": [],
|
||||
"langToValidPlayground": null,
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": "数据库",
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"1.1K\", \"totalSubmission\": \"3K\", \"totalAcceptedRaw\": 1067, \"totalSubmissionRaw\": 2964, \"acRate\": \"36.0%\"}",
|
||||
"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]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Friendship (user1_id int, user2_id int)\",\n \"Create table If Not Exists Likes (user_id int, page_id int)\"\n ],\n \"mssql\": [\n \"Create table Friendship (user1_id int, user2_id int)\",\n \"Create table Likes (user_id int, page_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Friendship (user1_id int, user2_id int)\",\n \"Create table Likes (user_id int, page_id int)\"\n ],\n \"database\": true\n}",
|
||||
"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,
|
||||
"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\":{\"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]]}}",
|
||||
"__typename": "QuestionNode"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user