Skip to content

Roman numeral sorting implementation with golang.

Notifications You must be signed in to change notification settings

herdiansc/royal-rumble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Royal Rumble

This is an app to sort list of royal names consist of ordinal number in roman numeral.

Problem

given the list of names [George VI, William II, Elizabeth I, William I] the sorted result should be [Elizabeth I, George VI, William I, William II]

Requirement

How to install

  • Clone this repo to your $GOPATH/src directory

How to Run

  • Build the app to create executable file with command go build .
  • Enter app root directory
  • Execute command ./royal-rumble <input_filename> for example ./royal-rumble RoyalRumble/input1.txt

How to Run Unit Test

  • Enter app root directory
  • Execute command go test ./...

About

Roman numeral sorting implementation with golang.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages