{ "data": { "question": { "questionId": "2253", "questionFrontendId": "2118", "boundTopicId": null, "title": "Build the Equation", "titleSlug": "build-the-equation", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Hard", "likes": 21, "dislikes": 33, "isLiked": null, "similarQuestions": "[]", "exampleTestcases": "{\"headers\":{\"Terms\":[\"power\",\"factor\"]},\"rows\":{\"Terms\":[[2,1],[1,-4],[0,2]]}}\n{\"headers\":{\"Terms\":[\"power\",\"factor\"]},\"rows\":{\"Terms\":[[4,-4],[2,1],[1,-1]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"2K\", \"totalSubmission\": \"3.7K\", \"totalAcceptedRaw\": 2042, \"totalSubmissionRaw\": 3728, \"acRate\": \"54.8%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Terms\":[\"power\",\"factor\"]},\"rows\":{\"Terms\":[[2,1],[1,-4],[0,2]]}}", "metaData": "{\"mysql\": [\"Create table If Not Exists Terms (power int, factor int)\"], \"mssql\": [\"Create table Terms (power int, factor int)\"], \"oraclesql\": [\"Create table Terms (power int, factor int)\"], \"database\": true, \"name\": \"build_the_equation\", \"pythondata\": [\"Terms = pd.DataFrame([], columns=['power', 'factor']).astype({'power':'Int64', 'factor':'Int64'})\"], \"postgresql\": [\"Create table If Not Exists Terms (power int, factor int)\"], \"database_schema\": {\"Terms\": {\"power\": \"INT\", \"factor\": \"INT\"}}}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Terms (power int, factor int)", "Truncate table Terms", "insert into Terms (power, factor) values ('2', '1')", "insert into Terms (power, factor) values ('1', '-4')", "insert into Terms (power, factor) values ('0', '2')" ], "enableRunCode": true, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"
MySQL 8.0
.
mssql server 2019
.
Oracle Sql 11.2
.
Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0
\"], \"postgresql\": [\"PostgreSQL\", \"PostgreSQL 16
\"]}", "libraryUrl": null, "adminUrl": null, "challengeQuestion": null, "__typename": "QuestionNode" } } }