mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
59 lines
3.5 KiB
JSON
59 lines
3.5 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2376",
|
|
"questionFrontendId": "2238",
|
|
"boundTopicId": null,
|
|
"title": "Number of Times a Driver Was a Passenger",
|
|
"titleSlug": "number-of-times-a-driver-was-a-passenger",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 12,
|
|
"dislikes": 1,
|
|
"isLiked": null,
|
|
"similarQuestions": "[{\"title\": \"Hopper Company Queries I\", \"titleSlug\": \"hopper-company-queries-i\", \"difficulty\": \"Hard\", \"translatedTitle\": null}, {\"title\": \"Hopper Company Queries II\", \"titleSlug\": \"hopper-company-queries-ii\", \"difficulty\": \"Hard\", \"translatedTitle\": null}, {\"title\": \"Hopper Company Queries III\", \"titleSlug\": \"hopper-company-queries-iii\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
|
|
"exampleTestcases": null,
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"397\", \"totalSubmission\": \"503\", \"totalAcceptedRaw\": 397, \"totalSubmissionRaw\": 503, \"acRate\": \"78.9%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Rides\":[\"ride_id\",\"driver_id\",\"passenger_id\"]},\"rows\":{\"Rides\":[[1,7,1],[2,7,2],[3,11,1],[4,11,7],[5,11,7],[6,11,3]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Rides (ride_id int, driver_id int, passenger_id int)\"\n ],\n \"mssql\": [\n \"Create table Rides (ride_id int, driver_id int, passenger_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Rides (ride_id int, driver_id int, passenger_id int)\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Rides (ride_id int, driver_id int, passenger_id int)",
|
|
"Truncate table Rides",
|
|
"insert into Rides (ride_id, driver_id, passenger_id) values ('1', '7', '1')",
|
|
"insert into Rides (ride_id, driver_id, passenger_id) values ('2', '7', '2')",
|
|
"insert into Rides (ride_id, driver_id, passenger_id) values ('3', '11', '1')",
|
|
"insert into Rides (ride_id, driver_id, passenger_id) values ('4', '11', '7')",
|
|
"insert into Rides (ride_id, driver_id, passenger_id) values ('5', '11', '7')",
|
|
"insert into Rides (ride_id, driver_id, passenger_id) values ('6', '11', '3')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |