We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a02d55 commit eba7034Copy full SHA for eba7034
src/main/elixir/g0001_0100/s0051_n_queens/readme.md
@@ -63,7 +63,7 @@ defmodule Solution do
63
end
64
65
defp normalize(board, n) do
66
- for {{x, y}, i} <- Enum.with_index(board) do
+ for { {x, y}, i} <- Enum.with_index(board) do
67
0..n-1
68
|> Enum.map(fn j ->
69
if {n - i - 1, j} == {x, y}, do: "Q", else: "."
0 commit comments