Initial Course
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace stl_algorithms {
|
||||
|
||||
[[nodiscard]] auto filter_length(const std::vector<std::string>& words, std::size_t min_len)
|
||||
-> std::vector<std::string>;
|
||||
[[nodiscard]] auto map_to_lengths(const std::vector<std::string>& words) -> std::vector<int>;
|
||||
[[nodiscard]] auto first_match(const std::vector<int>& data, int threshold) -> int;
|
||||
|
||||
} // namespace stl_algorithms
|
||||
Reference in New Issue
Block a user