From 0d7d28df3e7f9c7c829133550de22621c033a03e Mon Sep 17 00:00:00 2001 From: jainiksha Date: Thu, 13 Aug 2026 15:08:40 +0530 Subject: [PATCH] feat: add AI unseen question variation generator --- ...erviewQuestionUnseenVariationGenerator.jsx | 161 ++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 frontend/src/pages/AIInterviewQuestionUnseenVariationGenerator.jsx diff --git a/frontend/src/pages/AIInterviewQuestionUnseenVariationGenerator.jsx b/frontend/src/pages/AIInterviewQuestionUnseenVariationGenerator.jsx new file mode 100644 index 00000000..814222b8 --- /dev/null +++ b/frontend/src/pages/AIInterviewQuestionUnseenVariationGenerator.jsx @@ -0,0 +1,161 @@ +import React, { useState } from "react"; +import { + Brain, + Shuffle, + Target, + CheckCircle2, +} from "lucide-react"; + +export default function AIInterviewQuestionUnseenVariationGenerator() { + const [variation, setVariation] = useState(false); + + return ( +
+ + {/* Header */} +
+
+ +
+ +
+

+ AI Unseen Variation Generator +

+ +

+ Practice new variations of concepts you already know. +

+
+
+ + {/* Previous Question */} +
+

+ Previously Practiced +

+ +

+ Find the two numbers in an array that add up to a target. +

+ +
+ Concept: Hashing +
+
+ + {/* Generate */} +
+ + + +

+ Generate an Unseen Variation +

+ +

+ The AI will change the problem structure while testing the same + underlying concept. +

+ + + +
+ + {variation && ( + <> + {/* New Question */} +
+ +
+ + +

+ Unseen Variation +

+
+ +

+ You are given a stream of transactions and a target transaction + value. Determine whether two transactions processed so far can + combine to reach the target value while using as little memory + as possible. +

+ +
+ + + Same Concept: Hashing + + + + New Context + + + + Changed Constraints + + +
+ +