Skip to content

Commit

Permalink
Merge pull request #120 from Varstak/staging
Browse files Browse the repository at this point in the history
Changed sample questions
  • Loading branch information
ryanchua00 authored Nov 15, 2023
2 parents 9102efe + 3ae4ce7 commit 6e41333
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Constraints:
- s[i] is a printable ascii character.
`,
difficulty: DIFFICULTY.EASY,
category: "Strings, Algorithms",
category: "Strings",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn11.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Constraints:
- text1 and text2 consist of only lowercase English characters
`,
difficulty: DIFFICULTY.MEDIUM,
category: "Strings, Algorithms",
category: "Strings",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn12.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Constraints:
- -1000 <= matrix[i][j] <= 1000
`,
difficulty: DIFFICULTY.MEDIUM,
category: "Arrays, Algorithms",
category: "Arrays",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn14.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Constraints:
`,
difficulty: DIFFICULTY.MEDIUM,
category: "Data Structures, Algorithms",
category: "Data Structures",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn15.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Constraints:
- 1 <= k <= nums.length
`,
difficulty: DIFFICULTY.HARD,
category: "Arrays, Algorithms",
category: "Arrays",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn17.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Constraints:
- -1000 <= Node.val <= 1000
`,
difficulty: DIFFICULTY.HARD,
category: "Data Structures, Algorithms",
category: "Data Structures",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn18.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Constraints:
- p contains only lowercase English letters, '?' or '*'.
`,
difficulty: DIFFICULTY.HARD,
category: "Strings, Algorithms",
category: "Strings",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Constraints:
Follow up: Can you solve it using O(1) (i.e. constant) memory?
`,
difficulty: DIFFICULTY.EASY,
category: "Data Structures, Algorithms",
category: "Data Structures",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Constraints:
- Each string does not contain leading zeros except for the zero itself
`,
difficulty: DIFFICULTY.EASY,
category: "Bit Manipulation, Algorithms",
category: "Bit Manipulation",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Constraints:
- 0 <= n <= 30
`,
difficulty: DIFFICULTY.EASY,
category: "Recursion, Algorithms",
category: "Recursion",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Constraints:
- s[i] is either 'A', 'C', 'G', or 'T'.
`,
difficulty: DIFFICULTY.MEDIUM,
category: "Algorithms, Bit Manipulation",
category: "Bit Manipulation",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down
2 changes: 1 addition & 1 deletion backend/mongodb-database/src/sampleQuestions/qn9.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Constraints:
- All the pairs prerequisites[i] are unique.
`,
difficulty: DIFFICULTY.MEDIUM,
category: "Data Structures, Algorithms",
category: "Data Structures",
templates: [
{
language: LANGUAGE.PYTHON,
Expand Down

0 comments on commit 6e41333

Please sign in to comment.