Skip to content

andronov-alexey/WordCountSorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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