Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
/ BST Public archive

lynkos/BST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Details

Sorts all words in an input file (or from standard input) and prints the sorted words to an output file (or standard output). Command line arguments:

bstsort [-c] [-o output_file_name] [input_file_name]

If -c is present, the program needs to compare the strings in upper case. Otherwise, the case stays as read in. If output_file_name is given with the -o option, the program will output the sorted words to the given output file; otherwise, the output shall be the standard output. Similarly, if the input_file_name is given, the program will read from the input file; otherwise, the input will be from the standard input.

About

Sorts strings using a Binary Search Tree.

Topics

Resources

Stars

Watchers

Forks

Contributors