1
+ {
2
+ "data" : {
3
+ "question" : {
4
+ "questionId" : " 1958" ,
5
+ "questionFrontendId" : " 1809" ,
6
+ "categoryTitle" : " Database" ,
7
+ "boundTopicId" : 687194 ,
8
+ "title" : " Ad-Free Sessions" ,
9
+ "titleSlug" : " ad-free-sessions" ,
10
+ "content" : null ,
11
+ "translatedTitle" : " 没有广告的剧集" ,
12
+ "translatedContent" : null ,
13
+ "isPaidOnly" : true ,
14
+ "difficulty" : " Easy" ,
15
+ "likes" : 7 ,
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\" : \" 2.8K\" , \" totalSubmission\" : \" 4.5K\" , \" totalAcceptedRaw\" : 2798, \" totalSubmissionRaw\" : 4511, \" acRate\" : \" 62.0%\" }" ,
32
+ "hints" : [],
33
+ "solution" : null ,
34
+ "status" : null ,
35
+ "sampleTestCase" : " {\" headers\" :{\" Playback\" :[\" session_id\" ,\" customer_id\" ,\" start_time\" ,\" end_time\" ],\" Ads\" :[\" ad_id\" ,\" customer_id\" ,\" timestamp\" ]},\" rows\" :{\" Playback\" :[[1,1,1,5],[2,1,15,23],[3,2,10,12],[4,2,17,28],[5,2,2,8]],\" Ads\" :[[1,1,5],[2,2,17],[3,2,20]]}}" ,
36
+ "metaData" : " {\n \" mysql\" : [\n \" Create table If Not Exists Playback(session_id int,customer_id int,start_time int,end_time int)\" ,\n \" Create table If Not Exists Ads (ad_id int, customer_id int, timestamp int)\"\n ],\n \" mssql\" : [\n \" Create table Playback(session_id int,customer_id int,start_time int,end_time int)\" ,\n \" Create table Ads (ad_id int, customer_id int, timestamp int)\"\n ],\n \" oraclesql\" : [\n \" Create table Playback(session_id int,customer_id int,start_time int,end_time int)\" ,\n \" Create table Ads (ad_id int, customer_id int, timestamp int)\"\n ],\n \" database\" : true\n }" ,
37
+ "judgerAvailable" : true ,
38
+ "judgeType" : " large" ,
39
+ "mysqlSchemas" : [
40
+ " Create table If Not Exists Playback(session_id int,customer_id int,start_time int,end_time int)" ,
41
+ " Create table If Not Exists Ads (ad_id int, customer_id int, timestamp int)" ,
42
+ " Truncate table Playback" ,
43
+ " insert into Playback (session_id, customer_id, start_time, end_time) values ('1', '1', '1', '5')" ,
44
+ " insert into Playback (session_id, customer_id, start_time, end_time) values ('2', '1', '15', '23')" ,
45
+ " insert into Playback (session_id, customer_id, start_time, end_time) values ('3', '2', '10', '12')" ,
46
+ " insert into Playback (session_id, customer_id, start_time, end_time) values ('4', '2', '17', '28')" ,
47
+ " insert into Playback (session_id, customer_id, start_time, end_time) values ('5', '2', '2', '8')" ,
48
+ " Truncate table Ads" ,
49
+ " insert into Ads (ad_id, customer_id, timestamp) values ('1', '1', '5')" ,
50
+ " insert into Ads (ad_id, customer_id, timestamp) values ('2', '2', '17')" ,
51
+ " insert into Ads (ad_id, customer_id, timestamp) values ('3', '2', '20')"
52
+ ],
53
+ "enableRunCode" : true ,
54
+ "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>\" ]}" ,
55
+ "book" : null ,
56
+ "isSubscribed" : false ,
57
+ "isDailyQuestion" : false ,
58
+ "dailyRecordStatus" : null ,
59
+ "editorType" : " CKEDITOR" ,
60
+ "ugcQuestionId" : null ,
61
+ "style" : " LEETCODE" ,
62
+ "exampleTestcases" : " {\" headers\" :{\" Playback\" :[\" session_id\" ,\" customer_id\" ,\" start_time\" ,\" end_time\" ],\" Ads\" :[\" ad_id\" ,\" customer_id\" ,\" timestamp\" ]},\" rows\" :{\" Playback\" :[[1,1,1,5],[2,1,15,23],[3,2,10,12],[4,2,17,28],[5,2,2,8]],\" Ads\" :[[1,1,5],[2,2,17],[3,2,20]]}}" ,
63
+ "__typename" : " QuestionNode"
64
+ }
65
+ }
66
+ }
0 commit comments