mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
63 lines
4.0 KiB
JSON
63 lines
4.0 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "3757",
|
|
"questionFrontendId": "3415",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 3039682,
|
|
"title": "Find Products with Three Consecutive Digits ",
|
|
"titleSlug": "find-products-with-three-consecutive-digits",
|
|
"content": null,
|
|
"translatedTitle": "查找具有三个连续数字的产品",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 0,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"21\", \"totalSubmission\": \"23\", \"totalAcceptedRaw\": 21, \"totalSubmissionRaw\": 23, \"acRate\": \"91.3%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Products\":[\"product_id\",\"name\"]},\"rows\":{\"Products\":[[1,\"ABC123XYZ\"],[2,\"A12B34C\"],[3,\"Product56789\"],[4,\"NoDigitsHere\"],[5,\"789Product\"],[6,\"Item003Description\"],[7,\"Product12X34\"]]}}",
|
|
"metaData": "{\"mysql\":[\"CREATE TABLE if not exists products (\\n product_id INT,\\n name VARCHAR(255)\\n)\\n\"],\"mssql\":[\"CREATE TABLE products (\\n product_id INT,\\n name VARCHAR(255)\\n)\\n\"],\"oraclesql\":[\"CREATE TABLE products (\\n product_id NUMBER,\\n name VARCHAR2(255)\\n)\\n\"],\"postgresql\":[\"CREATE TABLE if not exists products (\\n product_id INT,\\n name VARCHAR(255)\\n)\\n\"],\"database\":true,\"name\":\"find_products\",\"pythondata\":[\"Products = pd.DataFrame(columns=['product_id', 'name']).astype({'product_id': 'int', 'name': 'string'})\"],\"database_schema\":{\"products\":{\"product_id\":\"INT\",\"name\":\"VARCHAR(255)\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"CREATE TABLE if not exists products (\n product_id INT,\n name VARCHAR(255)\n)\n",
|
|
"Truncate table Products",
|
|
"insert into Products (product_id, name) values ('1', 'ABC123XYZ')",
|
|
"insert into Products (product_id, name) values ('2', 'A12B34C')",
|
|
"insert into Products (product_id, name) values ('3', 'Product56789')",
|
|
"insert into Products (product_id, name) values ('4', 'NoDigitsHere')",
|
|
"insert into Products (product_id, name) values ('5', '789Product')",
|
|
"insert into Products (product_id, name) values ('6', 'Item003Description')",
|
|
"insert into Products (product_id, name) values ('7', 'Product12X34')"
|
|
],
|
|
"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>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.2.2 and NumPy 1.26.4<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\":{\"Products\":[\"product_id\",\"name\"]},\"rows\":{\"Products\":[[1,\"ABC123XYZ\"],[2,\"A12B34C\"],[3,\"Product56789\"],[4,\"NoDigitsHere\"],[5,\"789Product\"],[6,\"Item003Description\"],[7,\"Product12X34\"]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |