Skip to content

A simple problem to reverse the strings in a text file and dump them in another file.

License

Notifications You must be signed in to change notification settings

barmanroys/file-string-reversal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goal

This small problem popped up on my newsfeed, from an interview process and thought I would take a shot at it with a few different languages. Will add other languages depending on my bandwith.

Problem

Write a program in C++ that takes in a file as input and reverses every line and puts it in a different file. Try to do this with as little memory footprint as possible and as fast as possible.

Solution Approaches

C++

In the spirit of the original requirement, keeping it all in the same file.

About

A simple problem to reverse the strings in a text file and dump them in another file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published