refactor: rename parameter to standardize

This commit is contained in:
2025-12-08 11:42:12 +01:00
parent 879509c7ba
commit 9d2d27b257
4 changed files with 21 additions and 21 deletions

View File

@@ -104,9 +104,9 @@ func applyOperation(numbers []int, operation byte) int {
return result
}
func PartOne(input []string) int {
operationRow := len(input) - 1
transposed := transpose(input)
func PartOne(data []string) int {
operationRow := len(data) - 1
transposed := transpose(data)
total := 0
column := 0
@@ -135,9 +135,9 @@ func PartOne(input []string) int {
return total
}
func PartTwo(input []string) int {
operationRow := len(input) - 1
transposed := transpose(input)
func PartTwo(data []string) int {
operationRow := len(data) - 1
transposed := transpose(data)
total := 0
column := len(transposed) - 1