Skip to content
My solution to the Puzzle Node #14
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
README.md
complex_input.txt
complex_output.txt
discover_social_network.rb
my_sample_output.txt
output.txt
sample_input.txt
sample_output.txt

README.md

Discover Social Network

This is my solution to the Puzzle Node exercise #14.

It has been tested only with Ruby 1.9.

You can get the discovered social network from a tweets input file with the following command:

$ ./discover_social_network.rb complex_input.txt

To get the result in a file:

$ ./discover_social_network.rb complex_input.txt > complex_output.txt

Please note that it includes a final empty line.

Something went wrong with that request. Please try again.