Skip to content

Colima-97/MicrosoftExercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft Exercise

A company needs to fix a set of customer phone numbers wich were incorrectly stored.

Phone numbers were mistakenly stored in the following formats:

Prefix, Area Code, Line Number
BBBGGGRRRR
BBB-GGG-RRRR

The fix intends to normalize the phone numbers as:

GGG-BBB-RRRR      

The set of phone numbers impacted is large, so do your best to minimize additional storage.

Implement:

void Reformat( string[] phoneNumbers);

About

Leer README.md

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages