Finds solutions matching a given name or returns all solutions.
Array of solution configurations
Name of solution to find, or 'all' for all solutions
Array of matching solutions
If no solutions match the name
const matching = findMatchingSolutions(config.solutions, 'main');// Returns: [{ name: 'main', source: 'Solution.cpp', type: 'main-correct' }] Copy
const matching = findMatchingSolutions(config.solutions, 'main');// Returns: [{ name: 'main', source: 'Solution.cpp', type: 'main-correct' }]
Finds solutions matching a given name or returns all solutions.