1
+ {
2
+ "data" : {
3
+ "question" : {
4
+ "questionId" : " 3746" ,
5
+ "questionFrontendId" : " 3401" ,
6
+ "categoryTitle" : " Database" ,
7
+ "boundTopicId" : 3033181 ,
8
+ "title" : " Find Circular Gift Exchange Chains" ,
9
+ "titleSlug" : " find-circular-gift-exchange-chains" ,
10
+ "content" : null ,
11
+ "translatedTitle" : null ,
12
+ "translatedContent" : null ,
13
+ "isPaidOnly" : true ,
14
+ "difficulty" : " Hard" ,
15
+ "likes" : 0 ,
16
+ "dislikes" : 0 ,
17
+ "isLiked" : null ,
18
+ "similarQuestions" : " []" ,
19
+ "contributors" : [],
20
+ "langToValidPlayground" : null ,
21
+ "topicTags" : [
22
+ {
23
+ "name" : " Database" ,
24
+ "slug" : " database" ,
25
+ "translatedName" : " 数据库" ,
26
+ "__typename" : " TopicTagNode"
27
+ }
28
+ ],
29
+ "companyTagStats" : null ,
30
+ "codeSnippets" : null ,
31
+ "stats" : " {\" totalAccepted\" : \" 16\" , \" totalSubmission\" : \" 23\" , \" totalAcceptedRaw\" : 16, \" totalSubmissionRaw\" : 23, \" acRate\" : \" 69.6%\" }" ,
32
+ "hints" : [],
33
+ "solution" : null ,
34
+ "status" : null ,
35
+ "sampleTestCase" : " {\" headers\" :{\" SecretSanta\" :[\" giver_id\" ,\" receiver_id\" ,\" gift_value\" ]},\" rows\" :{\" SecretSanta\" :[[1,2,20],[2,3,30],[3,1,40],[4,5,25],[5,4,35]]}}" ,
36
+ "metaData" : " {\" mysql\" :[\" CREATE TABLE SecretSanta (\\ n giver_id INT,\\ n receiver_id INT,\\ n gift_value INT\\ n)\\ n\" ],\" mssql\" :[\" CREATE TABLE SecretSanta (\\ n giver_id INT,\\ n receiver_id INT,\\ n gift_value INT\\ n)\\ n\" ],\" oraclesql\" :[\" CREATE TABLE SecretSanta (\\ n giver_id NUMBER,\\ n receiver_id NUMBER,\\ n gift_value NUMBER\\ n)\\ n\" ],\" database\" :true,\" name\" :\" find_gift_chains\" ,\" pythondata\" :[\" SecretSanta = pd.DataFrame(columns=[\\\" giver_id\\\" , \\\" receiver_id\\\" , \\\" gift_value\\\" ]).astype({\\\" giver_id\\\" : \\\" int\\\" , \\\" receiver_id\\\" : \\\" int\\\" , \\\" gift_value\\\" : \\\" int\\\" })\\ n\" ],\" postgresql\" :[\" CREATE TABLE SecretSanta (\\ n giver_id INT,\\ n receiver_id INT,\\ n gift_value INT\\ n)\\ n\" ],\" database_schema\" :{\" SecretSanta\" :{\" giver_id\" :\" INT\" ,\" receiver_id\" :\" INT\" ,\" gift_value\" :\" INT\" }}}" ,
37
+ "judgerAvailable" : true ,
38
+ "judgeType" : " large" ,
39
+ "mysqlSchemas" : [
40
+ " CREATE TABLE SecretSanta (\n giver_id INT,\n receiver_id INT,\n gift_value INT\n )\n " ,
41
+ " Truncate table SecretSanta" ,
42
+ " insert into SecretSanta (giver_id, receiver_id, gift_value) values ('1', '2', '20')" ,
43
+ " insert into SecretSanta (giver_id, receiver_id, gift_value) values ('2', '3', '30')" ,
44
+ " insert into SecretSanta (giver_id, receiver_id, gift_value) values ('3', '1', '40')" ,
45
+ " insert into SecretSanta (giver_id, receiver_id, gift_value) values ('4', '5', '25')" ,
46
+ " insert into SecretSanta (giver_id, receiver_id, gift_value) values ('5', '4', '35')"
47
+ ],
48
+ "enableRunCode" : true ,
49
+ "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>\" ]}" ,
50
+ "book" : null ,
51
+ "isSubscribed" : false ,
52
+ "isDailyQuestion" : false ,
53
+ "dailyRecordStatus" : null ,
54
+ "editorType" : " CKEDITOR" ,
55
+ "ugcQuestionId" : null ,
56
+ "style" : " LEETCODE" ,
57
+ "exampleTestcases" : " {\" headers\" :{\" SecretSanta\" :[\" giver_id\" ,\" receiver_id\" ,\" gift_value\" ]},\" rows\" :{\" SecretSanta\" :[[1,2,20],[2,3,30],[3,1,40],[4,5,25],[5,4,35]]}}" ,
58
+ "__typename" : " QuestionNode"
59
+ }
60
+ }
61
+ }
0 commit comments