Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: fix clang formatting issues
  • Loading branch information
alxkm committed Jul 7, 2025
commit cc6e0e1f34eed230bad3ab46c5943885dcdaabd6
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ public final class ValidParentheses {
private ValidParentheses() {
}

private static final Map<Character, Character> BRACKET_PAIRS = Map.of(
')', '(',
'}', '{',
']', '['
);
private static final Map<Character, Character> BRACKET_PAIRS = Map.of(')', '(', '}', '{', ']', '[');

/**
* Checks if the input string has valid parentheses.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

import static org.junit.jupiter.api.Assertions.assertEquals;

import java.util.stream.Stream;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;

import java.util.stream.Stream;

public class ValidParenthesesTest {

@ParameterizedTest(name = "Input: \"{0}\" → Expected: {1}")
Expand Down
Loading