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]friend-requests-i-overall-acceptance-rate.json

75 lines
5.3 KiB
JSON
Raw Normal View History

2022-03-27 18:35:17 +08:00
{
"data": {
"question": {
"questionId": "597",
"questionFrontendId": "597",
"boundTopicId": null,
"title": "Friend Requests I: Overall Acceptance Rate",
"titleSlug": "friend-requests-i-overall-acceptance-rate",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
2022-05-02 23:44:12 +08:00
"likes": 237,
"dislikes": 585,
2022-03-27 18:35:17 +08:00
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "{\"headers\":{\"FriendRequest\":[\"sender_id\",\"send_to_id\",\"request_date\"],\"RequestAccepted\":[\"requester_id\",\"accepter_id\",\"accept_date\"]},\"rows\":{\"FriendRequest\":[[1,2,\"2016/06/01\"],[1,3,\"2016/06/01\"],[1,4,\"2016/06/01\"],[2,3,\"2016/06/02\"],[3,4,\"2016/06/09\"]],\"RequestAccepted\":[[1,2,\"2016/06/03\"],[1,3,\"2016/06/08\"],[2,3,\"2016/06/08\"],[3,4,\"2016/06/09\"],[3,4,\"2016/06/10\"]]}}",
"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\": \"57.4K\", \"totalSubmission\": \"134.7K\", \"totalAcceptedRaw\": 57405, \"totalSubmissionRaw\": 134709, \"acRate\": \"42.6%\"}",
2022-03-27 18:35:17 +08:00
"hints": [
"Still remember how to count the number of rows in a table?",
"What is the keyword to filter the duplicated records in a table?"
],
"solution": {
"id": "161",
"canSeeDetail": true,
"paidOnly": false,
"hasVideoSolution": false,
"paidOnlyVideo": true,
"__typename": "ArticleNode"
},
"status": null,
"sampleTestCase": "{\"headers\":{\"FriendRequest\":[\"sender_id\",\"send_to_id\",\"request_date\"],\"RequestAccepted\":[\"requester_id\",\"accepter_id\",\"accept_date\"]},\"rows\":{\"FriendRequest\":[[1,2,\"2016/06/01\"],[1,3,\"2016/06/01\"],[1,4,\"2016/06/01\"],[2,3,\"2016/06/02\"],[3,4,\"2016/06/09\"]],\"RequestAccepted\":[[1,2,\"2016/06/03\"],[1,3,\"2016/06/08\"],[2,3,\"2016/06/08\"],[3,4,\"2016/06/09\"],[3,4,\"2016/06/10\"]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists FriendRequest (sender_id int, send_to_id int, request_date date)\",\n \"Create table If Not Exists RequestAccepted (requester_id int, accepter_id int, accept_date date)\"\n ],\n \"mssql\": [\n \"Create table FriendRequest (sender_id int, send_to_id int, request_date date)\",\n \"Create table RequestAccepted (requester_id int, accepter_id int, accept_date date)\"\n ],\n \"oraclesql\": [\n \"Create table FriendRequest (sender_id int, send_to_id int, request_date date)\",\n \"Create table RequestAccepted (requester_id int, accepter_id int, accept_date date)\",\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 FriendRequest (sender_id int, send_to_id int, request_date date)",
"Create table If Not Exists RequestAccepted (requester_id int, accepter_id int, accept_date date)",
"Truncate table FriendRequest",
"insert into FriendRequest (sender_id, send_to_id, request_date) values ('1', '2', '2016/06/01')",
"insert into FriendRequest (sender_id, send_to_id, request_date) values ('1', '3', '2016/06/01')",
"insert into FriendRequest (sender_id, send_to_id, request_date) values ('1', '4', '2016/06/01')",
"insert into FriendRequest (sender_id, send_to_id, request_date) values ('2', '3', '2016/06/02')",
"insert into FriendRequest (sender_id, send_to_id, request_date) values ('3', '4', '2016/06/09')",
"Truncate table RequestAccepted",
"insert into RequestAccepted (requester_id, accepter_id, accept_date) values ('1', '2', '2016/06/03')",
"insert into RequestAccepted (requester_id, accepter_id, accept_date) values ('1', '3', '2016/06/08')",
"insert into RequestAccepted (requester_id, accepter_id, accept_date) values ('2', '3', '2016/06/08')",
"insert into RequestAccepted (requester_id, accepter_id, accept_date) values ('3', '4', '2016/06/09')",
"insert into RequestAccepted (requester_id, accepter_id, accept_date) values ('3', '4', '2016/06/10')"
],
"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"
}
}
}