andronov-alexey / StringReplacer

Example Test assignment (2017)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StringReplacer

Test assignment for a company which should remain nameless :)

Problem statement:
Given a long string (~100000 symbols) replace all the substrings "abcdef", "123456 yzq", "qwerty qwerty", "dfghjkjkl" with a symbol '*'

Files overview:
in.txt - file with input string
out.txt - file with modified string
replacements.txt - list of replacements to perform on input string formatted as:
<word_to_replace> <new_line> <word_replace_with>

About

Example Test assignment (2017)

License:Apache License 2.0


Languages

Language:C++ 80.8%Language:CMake 19.2%