From fa32df3f9b7372cf247de7cc4102b78ab0599868 Mon Sep 17 00:00:00 2001 From: benjaminramey Date: Tue, 1 Oct 2024 13:51:48 -0500 Subject: [PATCH] vault backup: 2024-10-01 13:51:48 --- Work/Edgar Munoz interview.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Work/Edgar Munoz interview.md b/Work/Edgar Munoz interview.md index 68a5df1..06e6272 100644 --- a/Work/Edgar Munoz interview.md +++ b/Work/Edgar Munoz interview.md @@ -20,6 +20,7 @@ Questions: 4. Is there a way to calculate the coordinates of the surrounding cells without statically constructing a list of offset pairs? 5. You iterate through all cells in the board multiple times. Can you extract that logic to reuse wherever needed instead of copying it? 6. Can he explain why using GridSize at the property initialization level doesn't work? He couldn't explain it--he needed a const or static integer for `GridSize` instead of a readonly class field. Opted to initialize the property at the top of the constructor. +7. Can he simplify the user input questions (like don't show option for placing a flag if no squares are revealed yet--ie, impossible to know where mine is yet), or does he want to allow a user to place flags without knowing Nits: 1. Property, field and variable naming not consistent