mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 11:21:42 +08:00
add leetcode problem-cn part1
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "1565",
|
||||
"questionFrontendId": "1440",
|
||||
"categoryTitle": "Database",
|
||||
"boundTopicId": 236333,
|
||||
"title": "Evaluate Boolean Expression",
|
||||
"titleSlug": "evaluate-boolean-expression",
|
||||
"content": null,
|
||||
"translatedTitle": "计算布尔表达式的值",
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Medium",
|
||||
"likes": 22,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"contributors": [],
|
||||
"langToValidPlayground": null,
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": "数据库",
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"3.4K\", \"totalSubmission\": \"4.9K\", \"totalAcceptedRaw\": 3441, \"totalSubmissionRaw\": 4895, \"acRate\": \"70.3%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\":{\"Variables\":[\"name\",\"value\"],\"Expressions\":[\"left_operand\",\"operator\",\"right_operand\"]},\"rows\":{\"Variables\":[[\"x\",66],[\"y\",77]],\"Expressions\":[[\"x\",\">\",\"y\"],[\"x\",\"<\",\"y\"],[\"x\",\"=\",\"y\"],[\"y\",\">\",\"x\"],[\"y\",\"<\",\"x\"],[\"x\",\"=\",\"x\"]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create Table If Not Exists Variables (name varchar(3), value int)\",\n \"Create Table If Not Exists Expressions (left_operand varchar(3), operator ENUM('>', '<', '='), right_operand varchar(3))\"\n ],\n \"mssql\": [\n \"Create Table Variables (name varchar(3), value int)\",\n \"Create Table Expressions (left_operand varchar(3), operator varchar(3) NOT NULL CHECK (operator IN ('>', '<', '=')), right_operand varchar(3))\"\n ],\n \"oraclesql\": [\n \"Create Table Variables (name varchar(3), value int)\",\n \"Create Table Expressions (left_operand varchar(3), operator varchar(3) NOT NULL CHECK (operator IN ('>', '<', '=')), right_operand varchar(3))\"\n ],\n \"database\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Create Table If Not Exists Variables (name varchar(3), value int)",
|
||||
"Create Table If Not Exists Expressions (left_operand varchar(3), operator ENUM('>', '<', '='), right_operand varchar(3))",
|
||||
"Truncate table Variables",
|
||||
"insert into Variables (name, value) values ('x', '66')",
|
||||
"insert into Variables (name, value) values ('y', '77')",
|
||||
"Truncate table Expressions",
|
||||
"insert into Expressions (left_operand, operator, right_operand) values ('x', '>', 'y')",
|
||||
"insert into Expressions (left_operand, operator, right_operand) values ('x', '<', 'y')",
|
||||
"insert into Expressions (left_operand, operator, right_operand) values ('x', '=', 'y')",
|
||||
"insert into Expressions (left_operand, operator, right_operand) values ('y', '>', 'x')",
|
||||
"insert into Expressions (left_operand, operator, right_operand) values ('y', '<', 'x')",
|
||||
"insert into Expressions (left_operand, operator, right_operand) values ('x', '=', 'x')"
|
||||
],
|
||||
"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\":{\"Variables\":[\"name\",\"value\"],\"Expressions\":[\"left_operand\",\"operator\",\"right_operand\"]},\"rows\":{\"Variables\":[[\"x\",66],[\"y\",77]],\"Expressions\":[[\"x\",\">\",\"y\"],[\"x\",\"<\",\"y\"],[\"x\",\"=\",\"y\"],[\"y\",\">\",\"x\"],[\"y\",\"<\",\"x\"],[\"x\",\"=\",\"x\"]]}}",
|
||||
"__typename": "QuestionNode"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user