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]leetcodify-similar-friends.json

73 lines
5.4 KiB
JSON
Raw Normal View History

2022-03-27 18:27:43 +08:00
{
"data": {
"question": {
"questionId": "2064",
"questionFrontendId": "1919",
"boundTopicId": null,
"title": "Leetcodify Similar Friends",
"titleSlug": "leetcodify-similar-friends",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Hard",
2022-05-02 23:44:12 +08:00
"likes": 30,
2022-03-27 18:27:43 +08:00
"dislikes": 4,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Leetcodify Friends Recommendations\", \"titleSlug\": \"leetcodify-friends-recommendations\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
"exampleTestcases": "{\"headers\":{\"Listens\":[\"user_id\",\"song_id\",\"day\"],\"Friendship\":[\"user1_id\",\"user2_id\"]},\"rows\":{\"Listens\":[[1,10,\"2021-03-15\"],[1,11,\"2021-03-15\"],[1,12,\"2021-03-15\"],[2,10,\"2021-03-15\"],[2,11,\"2021-03-15\"],[2,12,\"2021-03-15\"],[3,10,\"2021-03-15\"],[3,11,\"2021-03-15\"],[3,12,\"2021-03-15\"],[4,10,\"2021-03-15\"],[4,11,\"2021-03-15\"],[4,13,\"2021-03-15\"],[5,10,\"2021-03-16\"],[5,11,\"2021-03-16\"],[5,12,\"2021-03-16\"]],\"Friendship\":[[1,2],[2,4],[2,5]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
2022-05-02 23:44:12 +08:00
"stats": "{\"totalAccepted\": \"2.6K\", \"totalSubmission\": \"6.1K\", \"totalAcceptedRaw\": 2590, \"totalSubmissionRaw\": 6081, \"acRate\": \"42.6%\"}",
2022-03-27 18:27:43 +08:00
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Listens\":[\"user_id\",\"song_id\",\"day\"],\"Friendship\":[\"user1_id\",\"user2_id\"]},\"rows\":{\"Listens\":[[1,10,\"2021-03-15\"],[1,11,\"2021-03-15\"],[1,12,\"2021-03-15\"],[2,10,\"2021-03-15\"],[2,11,\"2021-03-15\"],[2,12,\"2021-03-15\"],[3,10,\"2021-03-15\"],[3,11,\"2021-03-15\"],[3,12,\"2021-03-15\"],[4,10,\"2021-03-15\"],[4,11,\"2021-03-15\"],[4,13,\"2021-03-15\"],[5,10,\"2021-03-16\"],[5,11,\"2021-03-16\"],[5,12,\"2021-03-16\"]],\"Friendship\":[[1,2],[2,4],[2,5]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Listens (user_id int, song_id int, day date)\",\n \"Create table If Not Exists Friendship (user1_id int, user2_id int)\"\n ],\n \"mssql\": [\n \"Create table Listens (user_id int, song_id int, day date)\",\n \"Create table Friendship (user1_id int, user2_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Listens (user_id int, song_id int, day date)\",\n \"Create table Friendship (user1_id int, user2_id int)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Listens (user_id int, song_id int, day date)",
"Create table If Not Exists Friendship (user1_id int, user2_id int)",
"Truncate table Listens",
"insert into Listens (user_id, song_id, day) values ('1', '10', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('1', '11', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('1', '12', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('2', '10', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('2', '11', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('2', '12', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('3', '10', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('3', '11', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('3', '12', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('4', '10', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('4', '11', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('4', '13', '2021-03-15')",
"insert into Listens (user_id, song_id, day) values ('5', '10', '2021-03-16')",
"insert into Listens (user_id, song_id, day) values ('5', '11', '2021-03-16')",
"insert into Listens (user_id, song_id, day) values ('5', '12', '2021-03-16')",
"Truncate table Friendship",
"insert into Friendship (user1_id, user2_id) values ('1', '2')",
"insert into Friendship (user1_id, user2_id) values ('2', '4')",
"insert into Friendship (user1_id, user2_id) values ('2', '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>\"]}",
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}