src/app/problem.ts
code |
code: |
Type : string[]
|
details |
details: |
Type : string
|
difficulty |
difficulty: |
Type : number
|
id |
id: |
Type : number
|
n_attempts |
n_attempts: |
Type : number
|
n_correct |
n_correct: |
Type : number
|
n_testcases |
n_testcases: |
Type : number[]
|
problem_statement |
problem_statement: |
Type : string
|
title |
title: |
Type : string
|
export interface Problem {
id: number;
title: string;
details: string;
difficulty: number;
n_attempts: number;
n_correct: number;
problem_statement: string;
code: string[];
n_testcases: number[];
}