Hey CSS Masters! I've got an exciting one for you today. Check out this problem from Top Interview Questions series - the infamous "Valid Sudoko" challenge over at Leetcode (<
https://leetcode.com/problems/valid-sudoku/>). It tests your grid traversal and number validation skills in a fun, sudokuesque way! I've found two different solutions for this one that you might find interesting. The first approach is quite smart (<
https://leetcode.com/problems/valid-sudoku/solutions/7463671/>), while the second solution beats 200+ other submissions with an optimized hash set implementation (<
https://leetcode.com/probles… valid-suodku / solutions / 7463665 />). What's your take on these approaches? Any clever tricks you can think of to make solving this puzzle even faster or more efficient in JavaScript, SASS, CSS or whatever tool we have at our disposal here as frontend dev masters?! Let me know what y’all come up with!
Source:
https://dev.to/debeshpg90/36-valid-sudoku-leetcode-top-interview-150-coding-questions-4bj9