1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]all-valid-triplets-that-can-represent-a-country.json
2023-12-09 19:57:46 +08:00

63 lines
5.2 KiB
JSON

{
"data": {
"question": {
"questionId": "1763",
"questionFrontendId": "1623",
"boundTopicId": null,
"title": "All Valid Triplets That Can Represent a Country",
"titleSlug": "all-valid-triplets-that-can-represent-a-country",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 69,
"dislikes": 133,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "{\"headers\":{\"SchoolA\":[\"student_id\",\"student_name\"],\"SchoolB\":[\"student_id\",\"student_name\"],\"SchoolC\":[\"student_id\",\"student_name\"]},\"rows\":{\"SchoolA\":[[1,\"Alice\"],[2,\"Bob\"]],\"SchoolB\":[[3,\"Tom\"]],\"SchoolC\":[[3,\"Tom\"],[2,\"Jerry\"],[10,\"Alice\"]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"18.5K\", \"totalSubmission\": \"22K\", \"totalAcceptedRaw\": 18494, \"totalSubmissionRaw\": 22032, \"acRate\": \"83.9%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"SchoolA\":[\"student_id\",\"student_name\"],\"SchoolB\":[\"student_id\",\"student_name\"],\"SchoolC\":[\"student_id\",\"student_name\"]},\"rows\":{\"SchoolA\":[[1,\"Alice\"],[2,\"Bob\"]],\"SchoolB\":[[3,\"Tom\"]],\"SchoolC\":[[3,\"Tom\"],[2,\"Jerry\"],[10,\"Alice\"]]}}",
"metaData": "{\"mysql\": [\"Create table If Not Exists SchoolA (student_id int, student_name varchar(20))\", \"Create table If Not Exists SchoolB (student_id int, student_name varchar(20))\", \"Create table If Not Exists SchoolC (student_id int, student_name varchar(20))\"], \"mssql\": [\"Create table SchoolA (student_id int, student_name varchar(20))\", \"Create table SchoolB (student_id int, student_name varchar(20))\", \"Create table SchoolC (student_id int, student_name varchar(20))\"], \"oraclesql\": [\"Create table SchoolA (student_id int, student_name varchar(20))\", \"Create table SchoolB (student_id int, student_name varchar(20))\", \"Create table SchoolC (student_id int, student_name varchar(20))\"], \"database\": true, \"name\": \"find_valid_triplets\", \"pythondata\": [\"SchoolA = pd.DataFrame([], columns=['student_id', 'student_name']).astype({'student_id':'Int64', 'student_name':'object'})\", \"SchoolB = pd.DataFrame([], columns=['student_id', 'student_name']).astype({'student_id':'Int64', 'student_name':'object'})\", \"SchoolC = pd.DataFrame([], columns=['student_id', 'student_name']).astype({'student_id':'Int64', 'student_name':'object'})\"], \"postgresql\": [\"\\nCreate table If Not Exists SchoolA (student_id int, student_name varchar(20))\\n\", \"\\nCreate table If Not Exists SchoolB (student_id int, student_name varchar(20))\\n\", \"\\nCreate table If Not Exists SchoolC (student_id int, student_name varchar(20))\\n\"], \"database_schema\": {\"SchoolA\": {\"student_id\": \"INT\", \"student_name\": \"VARCHAR(20)\"}, \"SchoolB\": {\"student_id\": \"INT\", \"student_name\": \"VARCHAR(20)\"}, \"SchoolC\": {\"student_id\": \"INT\", \"student_name\": \"VARCHAR(20)\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists SchoolA (student_id int, student_name varchar(20))",
"Create table If Not Exists SchoolB (student_id int, student_name varchar(20))",
"Create table If Not Exists SchoolC (student_id int, student_name varchar(20))",
"Truncate table SchoolA",
"insert into SchoolA (student_id, student_name) values ('1', 'Alice')",
"insert into SchoolA (student_id, student_name) values ('2', 'Bob')",
"Truncate table SchoolB",
"insert into SchoolB (student_id, student_name) values ('3', 'Tom')",
"Truncate table SchoolC",
"insert into SchoolC (student_id, student_name) values ('3', 'Tom')",
"insert into SchoolC (student_id, student_name) values ('2', 'Jerry')",
"insert into SchoolC (student_id, student_name) values ('10', 'Alice')"
],
"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>\"], \"pythondata\": [\"Pandas\", \"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0</p>\"], \"postgresql\": [\"PostgreSQL\", \"<p>PostgreSQL 16</p>\"]}",
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}