testsAndMisc-archive/CPP/miscelanious/howOftenDoesCharOccur.h
Krzysztof kuhy Rudnicki 01091c09ce Add tests and fix pre-commit issues across all projects
- C/lichess_random_engine, vocabulary_curve, misc/split,
  1dvelocitysimulator, opening_learner: test suites added
- CPP/miscelanious: tests added
- TS/battery-status, champions_leauge_scores, two-inputs: tests added
- python_pkg/fm24_searcher, wake_alarm: new packages added
- Fix ruff/cppcheck/eslint/clang-format failures
- Update .gitignore for C/C++ build artifacts
2026-04-12 20:45:24 +02:00

12 lines
252 B
C++

#pragma once
#include <string>
#include <vector>
struct charOccurence {
char c;
int occurrence;
};
void printCharOccurenceVector(const std::vector<charOccurence> v);
std::vector<charOccurence> computeCharOccurences(const std::string &userInput);