Skip to content

API Reference: Other

Wilson Lau edited this page Apr 10, 2021 · 3 revisions

Other Resources

InterviewUser

Represents a partial user that contains information for other users to see

interface InterviewUser extends Partial<User> [
   name: string;
   email: string; // Maybe? Debatable.
   avatarUrl: string;
   codingLanguages: CodingLanguage[];
   questionDifficulties: QuestionDifficulty[];
   questionTypes: QuestionType[];
}

CodingLanguage (Enum)

Represents the different coding languages that we support

enum CodingLanguage {
   PYTHON, JAVA, JAVASCRIPT
}

QuestionDifficulty (Enum)

Represents the different difficulty levels for an InterviewQuestion

enum QuestionDifficulty {
   EASY, MEDIUM, HARD
}

QuestionType

Represents the different types of problems for an InterviewQuestion

enum QuestionType {
   ARRAY, LINKED_LIST, STACKS_QUEUES, BINARY_TREE, 
   HEAPS, RECURSION, DYNAMIC_PROGRAMMING, GRAPHS,
   // TODO: There are probably more
}