https://github.com/anujdhillxn/cpptries
Serializer-Deserializer for Tries in CPP
https://github.com/anujdhillxn/cpptries
cpp data-structures parsing
Last synced: 8 months ago
JSON representation
Serializer-Deserializer for Tries in CPP
- Host: GitHub
- URL: https://github.com/anujdhillxn/cpptries
- Owner: anujdhillxn
- Created: 2021-04-15T08:06:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-15T08:07:07.000Z (almost 5 years ago)
- Last Synced: 2025-06-01T16:42:53.673Z (10 months ago)
- Topics: cpp, data-structures, parsing
- Language: C++
- Homepage:
- Size: 2.75 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project supports serializing and deserializing of a trie.
The trie is formed in the file serializer.cpp and serialized within the same. The output is in the form of a .txt file.
Two arguments are to be supplied while execution,
To run, type in command line ->
g++ serializer.cpp -o serializer
./serializer words.txt serial.txt
This trie can be deserialized in deserializer.cpp and queries can be entered in the form of a text file. The code will then print on the console if it is present.
Two arguments are to be supplied while execution,
Sample execution ->
g++ deserializer.cpp -o deserializer
./deserializer serial.txt Inputs.txt