Skip to content

Commit

Permalink
chore: remove debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dsluijk committed Dec 23, 2024
1 parent a352402 commit fd339bd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions solvers/21/1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ const minLength = (
): number => {
let total = 0;
let currentChar: Directional | Numeric = "A";
console.log(sequence);
for (const char of sequence) {
const moves = getMoves(currentChar, char, depth);

Expand Down Expand Up @@ -106,7 +105,6 @@ export const solve = (input: string) => {
let totalComplexity = 0;
for (const line of lines) {
const length = minLength(line.split("") as Numeric[], 2, 0);
console.log(length, Number(line.replaceAll("A", "")));
totalComplexity += Number(line.replaceAll("A", "")) * length;
}

Expand Down

0 comments on commit fd339bd

Please sign in to comment.