Giter Site home page Giter Site logo

dictionary-using-trie-datastructure's Introduction

Dictionary-using-Trie-Datastructure

3rd sem Data Structures project to implement a real world dictionary using Trie data structure.

All the words of the dictionary are stored in a .txt file. Each line of the file consists of the word followed by a space and the meaning. The meaning can also contain spaces. Each time the code is run,the dictionary is loaded onto a trie data structure. On selecting the exit option, all the nodes are deleted and memory is deallocated.

1)ADD :- with this function we add a new word to the dictionary along with the meaning.Incase the word already exists, the new meaning added will be replaced instead of the old one.

2)SEARCH:- we can search the particular word of our wish with this function, it will return appropriately based on the existence of the word in the dictionary.

3)DELETE:- you can remove the word of your choice if and only if it exists.

4)VIEW:- this will list out all the words in the dictionary.

5)EXIT:- this function will exit out of the program

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.