Backtracking-3 complete#1086
Conversation
N-Queens (51. N-Queens.py)Note: The verdict should be based on whether the solution is correct and efficient enough to pass all test cases on a typical programming judge. Lets begin. VERDICT: NEEDS_IMPROVEMENT Word Search (79. Word Search.py)Your solution is close to being correct and efficient. Here are some points to consider: Strengths:
Areas for improvement:
Revised code suggestion: class Solution: This revised code checks boundaries and visited state at the beginning of DFS, which is more efficient. It also uses a nested function to avoid passing repeated parameters. VERDICT: NEEDS_IMPROVEMENT |
No description provided.