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]friends-with-no-mutual-friends.json
2024-03-01 00:47:37 +08:00

54 lines
3.4 KiB
JSON

{
"data": {
"question": {
"questionId": "3358",
"questionFrontendId": "3058",
"boundTopicId": null,
"title": "Friends With No Mutual Friends",
"titleSlug": "friends-with-no-mutual-friends",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 2,
"dislikes": 1,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "{\"headers\":{\"Friends\":[\"user_id1\",\"user_id2\"]},\"rows\":{\"Friends\":[[1,2],[2,3],[2,4],[1,5],[6,7],[3,4],[2,5],[8,9]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"113\", \"totalSubmission\": \"212\", \"totalAcceptedRaw\": 113, \"totalSubmissionRaw\": 212, \"acRate\": \"53.3%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Friends\":[\"user_id1\",\"user_id2\"]},\"rows\":{\"Friends\":[[1,2],[2,3],[2,4],[1,5],[6,7],[3,4],[2,5],[8,9]]}}",
"metaData": "{\"mysql\": [\"Create Table if Not Exists Friends( user_id1 int, user_id2 int)\"], \"mssql\": [\"Create Table Friends( user_id1 int, user_id2 int)\"], \"oraclesql\": [\"Create Table Friends( user_id1 int, user_id2 int)\"], \"database\": true, \"name\": \"friends_with_no_mutual_friends\", \"pythondata\": [\"Friends = pd.DataFrame([], columns=['user_id1', 'user_id2']).astype({'user_id1':'Int64', 'user_id2':'Int64'})\\n\"], \"postgresql\": [\"CREATE TABLE Friends (\\n user_id1 int,\\n user_id2 int\\n);\"], \"database_schema\": {\"Friends\": {\"user_id1\": \"INT\", \"user_id2\": \"INT\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create Table if Not Exists Friends( user_id1 int, user_id2 int)",
"Truncate table Friends",
"insert into Friends (user_id1, user_id2) values ('1', '2')",
"insert into Friends (user_id1, user_id2) values ('2', '3')",
"insert into Friends (user_id1, user_id2) values ('2', '4')",
"insert into Friends (user_id1, user_id2) values ('1', '5')",
"insert into Friends (user_id1, user_id2) values ('6', '7')",
"insert into Friends (user_id1, user_id2) values ('3', '4')",
"insert into Friends (user_id1, user_id2) values ('2', '5')",
"insert into Friends (user_id1, user_id2) values ('8', '9')"
],
"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"
}
}
}