Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 793 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 793 Bytes

WordCountSorter

Test assignment for a company which should remain nameless :)

Problem statement:

Count the words in a file and sort them by frequency of occurence (Russian translation)

Possible improvements:

  • Validate command line arguments in a separate "Validator" class.
  • Move algorithm steps into "Solution" class to keep "main" function clean and tidy

Usage:

./freq.exe in.txt out.txt

Build:

  • Use CMake
  • builded binaries are available here and on releases page

Developed using MSVC 2022 on Windows