;
+};
+
+export default NotFound;
diff --git a/src/pages/Problem.jsx b/src/pages/Problem.jsx
new file mode 100644
index 00000000..6f5413c6
--- /dev/null
+++ b/src/pages/Problem.jsx
@@ -0,0 +1,205 @@
+import "../css/Problem.css";
+import { Link, useParams } from "react-router-dom";
+const Problems = [
+ {
+ id: "1",
+ title: "Two Sum",
+ description:
+ "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.",
+ input: "nums = [2,7,11,15], target = 9",
+ output: "[0,1]",
+ },
+ {
+ id: "2",
+ title: "Two Sum",
+ description:
+ "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.",
+ input: "nums = [2,7,11,15], target = 9",
+ output: "[0,1]",
+ },
+ {
+ id: "3",
+ title: "Two Sum",
+ description:
+ "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.",
+ input: "nums = [2,7,11,15], target = 9",
+ output: "[0,1]",
+ },
+ {
+ id: "4",
+ title: "Two Sum",
+ description:
+ "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.",
+ input: "nums = [2,7,11,15], target = 9",
+ output: "[0,1]",
+ },
+ {
+ id: "5",
+ title: "Two Sum",
+ description:
+ "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.",
+ input: "nums = [2,7,11,15], target = 9",
+ output: "[0,1]",
+ },
+ {
+ id: "6",
+ title: "Two Sum",
+ description:
+ "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.",
+ input: "nums = [2,7,11,15], target = 9",
+ output: "[0,1]",
+ },
+ {
+ id: "7",
+ title: "Two Sum",
+ description:
+ "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.",
+ input: "nums = [2,7,11,15], target = 9",
+ output: "[0,1]",
+ },
+ {
+ id: "8",
+ title: "Two Sum",
+ description:
+ "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.",
+ input: "nums = [2,7,11,15], target = 9",
+ output: "[0,1]",
+ },
+ {
+ id: "9",
+ title: "Two Sum",
+ description:
+ "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.",
+ input: "nums = [2,7,11,15], target = 9",
+ output: "[0,1]",
+ },
+ {
+ id: "10",
+ title: "Add Two Numbers",
+ description:
+ "You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.",
+ input: "l1 = [2,4,3], l2 = [5,6,4]",
+ output: "[7,0,8]",
+ },
+ {
+ id: "11",
+ title: "Add Two Numbers",
+ description:
+ "You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.",
+ input: "l1 = [2,4,3], l2 = [5,6,4]",
+ output: "[7,0,8]",
+ },
+ {
+ id: "12",
+ title: "Add Two Numbers",
+ description:
+ "You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.",
+ input: "l1 = [2,4,3], l2 = [5,6,4]",
+ output: "[7,0,8]",
+ },
+ {
+ id: "13",
+ title: "Add Two Numbers",
+ description:
+ "You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.",
+ input: "l1 = [2,4,3], l2 = [5,6,4]",
+ output: "[7,0,8]",
+ },
+ {
+ id: "14",
+ title: "Add Two Numbers",
+ description:
+ "You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.",
+ input: "l1 = [2,4,3], l2 = [5,6,4]",
+ output: "[7,0,8]",
+ },
+ {
+ id: "15",
+ title: "Add Two Numbers",
+ description:
+ "You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.",
+ input: "l1 = [2,4,3], l2 = [5,6,4]",
+ output: "[7,0,8]",
+ },
+ {
+ id: "16",
+ title: "Add Two Numbers",
+ description:
+ "You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.",
+ input: "l1 = [2,4,3], l2 = [5,6,4]",
+ output: "[7,0,8]",
+ },
+ {
+ id: "17",
+ title: "Add Two Numbers",
+ description:
+ "You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.",
+ input: "l1 = [2,4,3], l2 = [5,6,4]",
+ output: "[7,0,8]",
+ },
+ {
+ id: "18",
+ title: "Add Two Numbers",
+ description:
+ "You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.",
+ input: "l1 = [2,4,3], l2 = [5,6,4]",
+ output: "[7,0,8]",
+ },
+];
+
+const Problem = () => {
+ const { id } = useParams();
+
+ const problem = Problems.find((problem) => problem.id === id);
+ if (!problem) {
+ return