{ "data": { "question": { "questionId": "613", "questionFrontendId": "613", "boundTopicId": null, "title": "Shortest Distance in a Line", "titleSlug": "shortest-distance-in-a-line", "content": null, "translatedTitle": null, "translatedContent": null, "isPaidOnly": true, "difficulty": "Easy", "likes": 250, "dislikes": 36, "isLiked": null, "similarQuestions": "[]", "exampleTestcases": "{\"headers\":{\"Point\":[\"x\"]},\"rows\":{\"Point\":[[-1],[0],[2]]}}", "categoryTitle": "Database", "contributors": [], "topicTags": [ { "name": "Database", "slug": "database", "translatedName": null, "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"50.5K\", \"totalSubmission\": \"62.3K\", \"totalAcceptedRaw\": 50497, \"totalSubmissionRaw\": 62273, \"acRate\": \"81.1%\"}", "hints": [], "solution": { "id": "179", "canSeeDetail": true, "paidOnly": false, "hasVideoSolution": false, "paidOnlyVideo": true, "__typename": "ArticleNode" }, "status": null, "sampleTestCase": "{\"headers\":{\"Point\":[\"x\"]},\"rows\":{\"Point\":[[-1],[0],[2]]}}", "metaData": "{\n \"mysql\": [\n \"Create Table If Not Exists Point (x int not null)\"\n ],\n \"mssql\": [\n \"Create Table Point (x int not null)\"\n ],\n \"oraclesql\": [\n \"Create Table Point (x int not null)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create Table If Not Exists Point (x int not null)", "Truncate table Point", "insert into Point (x) values ('-1')", "insert into Point (x) values ('0')", "insert into Point (x) values ('2')" ], "enableRunCode": true, "enableTestMode": false, "enableDebugger": false, "envInfo": "{\"mysql\": [\"MySQL\", \"
MySQL 8.0
.
mssql server 2019
.
Oracle Sql 11.2
.