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,13 @@
#pragma once
#include <cstdint>
namespace fundamentals {
[[nodiscard]] auto absolute_difference(int lhs, int rhs) -> int;
[[nodiscard]] auto is_in_range(int value, int min, int max) -> bool;
[[nodiscard]] auto count_set_bits(std::uint8_t value) -> int;
[[nodiscard]] auto logical_and(bool lhs, bool rhs) -> bool;
[[nodiscard]] auto logical_or(bool lhs, bool rhs) -> bool;
} // namespace fundamentals