LLD - Design — Chess GameWhat will be the result of an en passant move if the opponent pawn did not just move two squares forward?AEn passant capture is not possibleBEn passant capture is possibleCThe capturing pawn moves normallyDThe opponent pawn is captured anywayCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand en passant timing conditionEn passant is only allowed immediately after the opponent pawn moves two squares forward.Step 2: Determine effect if condition not metIf the opponent pawn did not just move two squares, en passant is not allowed.Final Answer:En passant capture is not possible -> Option AQuick Check:En passant timing condition = D [OK]Quick Trick: En passant only right after opponent's two-step pawn move [OK]Common Mistakes:Allowing en passant anytimeIgnoring the timing of opponent's moveAssuming capture happens regardless
Master "Design — Chess Game" in LLD9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepArchTryChallengeDesignRecallScale
More LLD Quizzes Advanced LLD Concepts - Why advanced concepts handle production systems - Quiz 1easy Advanced LLD Concepts - Code review checklist for LLD - Quiz 1easy Design — Chess Game - Board and piece hierarchy - Quiz 5medium Design — Chess Game - Move validation and check detection - Quiz 6medium Design — Chess Game - Move validation and check detection - Quiz 11easy Design — Food Delivery System - Order tracking state machine - Quiz 15hard Design — Hotel Booking System - Cancellation and refund policy - Quiz 8hard Design — Hotel Booking System - Availability checking - Quiz 9hard Design — Online Shopping Cart - Why e-commerce tests real-world complexity - Quiz 1easy Design — Splitwise (Expense Sharing) - Simplify debts algorithm - Quiz 3easy