Initial Course

This commit is contained in:
David Gil de Gómez Pérez
2026-08-11 17:40:36 +03:00
commit 9aed1d1d86
202 changed files with 3420 additions and 0 deletions
@@ -0,0 +1,16 @@
#pragma once
#include <map>
#include <set>
#include <string>
#include <vector>
namespace stl_containers {
[[nodiscard]] auto word_frequencies(const std::vector<std::string>& words)
-> std::map<std::string, int>;
[[nodiscard]] auto unique_sorted(const std::vector<int>& data) -> std::set<int>;
[[nodiscard]] auto invert_map(const std::map<int, std::string>& input)
-> std::map<std::string, int>;
} // namespace stl_containers