Initial Course
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
namespace stl_containers {
|
||||
|
||||
[[nodiscard]] auto first_unique(const std::vector<std::string>& words) -> std::string;
|
||||
[[nodiscard]] auto group_anagrams(const std::vector<std::string>& words)
|
||||
-> std::unordered_map<std::string, std::vector<std::string>>;
|
||||
[[nodiscard]] auto has_duplicate(const std::vector<int>& data) -> bool;
|
||||
|
||||
} // namespace stl_containers
|
||||
Reference in New Issue
Block a user