Added one-liner methods for optimal solution length