Team Ai
Apppublic

cosmoEagle/leetcode-api

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
selectProblem.ts68 linesDownload Raw Back to GQLQueries
1const query = `#graphql2query selectProblem($titleSlug: String!) {3    question(titleSlug: $titleSlug) {4        questionId5        questionFrontendId6        boundTopicId7        title8        titleSlug9        content10        translatedTitle11        translatedContent12        isPaidOnly13        difficulty14        likes15        dislikes16        isLiked17        similarQuestions18        exampleTestcases19        contributors {20            username21            profileUrl22            avatarUrl23        }24        topicTags {25            name26            slug27            translatedName28        }29        companyTagStats30        codeSnippets {31            lang32            langSlug33            code34        }35        stats36        hints37        solution {38            id39            canSeeDetail40            paidOnly41            hasVideoSolution42            paidOnlyVideo43        }44        status45        sampleTestCase46        metaData47        judgerAvailable48        judgeType49        mysqlSchemas50        enableRunCode51        enableTestMode52        enableDebugger53        envInfo54        libraryUrl55        adminUrl56        challengeQuestion {57            id58            date59            incompleteChallengeCount60            streakCount61            type62        }63        note64    }65}`;66 67export default query;68