mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
59 lines
4.1 KiB
JSON
59 lines
4.1 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1327",
|
|
"questionFrontendId": "1204",
|
|
"boundTopicId": null,
|
|
"title": "Last Person to Fit in the Bus",
|
|
"titleSlug": "last-person-to-fit-in-the-bus",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 200,
|
|
"dislikes": 17,
|
|
"isLiked": null,
|
|
"similarQuestions": "[{\"title\": \"Running Total for Different Genders\", \"titleSlug\": \"running-total-for-different-genders\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"The Number of Seniors and Juniors to Join the Company\", \"titleSlug\": \"the-number-of-seniors-and-juniors-to-join-the-company\", \"difficulty\": \"Hard\", \"translatedTitle\": null}, {\"title\": \"The Number of Seniors and Juniors to Join the Company II\", \"titleSlug\": \"the-number-of-seniors-and-juniors-to-join-the-company-ii\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
|
|
"exampleTestcases": "{\"headers\":{\"Queue\":[\"person_id\",\"person_name\",\"weight\",\"turn\"]},\"rows\":{\"Queue\":[[5,\"Alice\",250,1],[4,\"Bob\",175,5],[3,\"Alex\",350,2],[6,\"John Cena\",400,3],[1,\"Winston\",500,6],[2,\"Marie\",200,4]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"28.9K\", \"totalSubmission\": \"39.2K\", \"totalAcceptedRaw\": 28924, \"totalSubmissionRaw\": 39250, \"acRate\": \"73.7%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Queue\":[\"person_id\",\"person_name\",\"weight\",\"turn\"]},\"rows\":{\"Queue\":[[5,\"Alice\",250,1],[4,\"Bob\",175,5],[3,\"Alex\",350,2],[6,\"John Cena\",400,3],[1,\"Winston\",500,6],[2,\"Marie\",200,4]]}}",
|
|
"metaData": "{\n \"manual\": false,\n \"mysql\": [\n \"Create table If Not Exists Queue (person_id int, person_name varchar(30), weight int, turn int)\"\n ],\n \"mssql\": [\n \"Create table Queue (person_id int, person_name varchar(30), weight int, turn int)\"\n ],\n \"oraclesql\": [\n \"Create table Queue (person_id int, person_name varchar(30), weight int, turn int)\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Queue (person_id int, person_name varchar(30), weight int, turn int)",
|
|
"Truncate table Queue",
|
|
"insert into Queue (person_id, person_name, weight, turn) values ('5', 'Alice', '250', '1')",
|
|
"insert into Queue (person_id, person_name, weight, turn) values ('4', 'Bob', '175', '5')",
|
|
"insert into Queue (person_id, person_name, weight, turn) values ('3', 'Alex', '350', '2')",
|
|
"insert into Queue (person_id, person_name, weight, turn) values ('6', 'John Cena', '400', '3')",
|
|
"insert into Queue (person_id, person_name, weight, turn) values ('1', 'Winston', '500', '6')",
|
|
"insert into Queue (person_id, person_name, weight, turn) values ('2', 'Marie', '200', '4')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |