Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

node-io-practice

This is a coding project I completed as part of an interview process. The coding project tested knowledge of Node.js, recursion, file I/O, and most importantly, creating dependency trees.

Objective:

The objective of the project was the following:

  • Read an input file (org_chart_sample.in), a CSV-like file with data about an imaginary organization's employees.
  • Parse the input, given a predefined pattern:
    • line 1 has the number of rows (test cases) to expect
    • Each test case has employees (name, supervisor name, Title, Year started), separated by "--"
  • Create a dependency tree starting with CEO, and write file to disk (org_chart_sample.out).

Files

Running

$ node ./final.js

Note: org_chart_sample.out will be overwritten.

About

node-io-practice

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.