Data structure in C

package hw3;/******************************************************************************* * Your homework assignment is to design the below data structure in the form* of a BST to maintain a symbol table of words and their lists of definitions.* An entry in this dictionary is composed of a word and a list of definitions.* * Hint: you may implement and use a LinkedList data structure to store* the list of definitions for each entry (i.e., word).**/public class BSTDict implements Dictionary {// TODO : design the data structure so that the below methods function as intended@Overridepublic void addDefinition(String word, String defn) {// TODO Auto-generated method stub}@Overridepublic Iterable<String> getDefinitions(String word) {// TODO Auto-generated method stubreturn null;}@Overridepublic void remDefinition(String word, String defn) {// TODO Auto-generated method stub}@Overridepublic boolean contains(String word) {// TODO Auto-generated method stubreturn false;}@Overridepublic int numEntries() {// TODO Auto-generated method stubreturn 0;}}

Leave a Comment

Your email address will not be published. Required fields are marked *

Data structure in C

package hw3;/******************************************************************************* * Your homework assignment is to design the below data structure in the form* of a BST to maintain a symbol table of words and their lists of definitions.* An entry in this dictionary is composed of a word and a list of definitions.* * Hint: you may implement and use a LinkedList data structure to store* the list of definitions for each entry (i.e., word).**/public class BSTDict implements Dictionary {// TODO : design the data structure so that the below methods function as intended@Overridepublic void addDefinition(String word, String defn) {// TODO Auto-generated method stub}@Overridepublic Iterable<String> getDefinitions(String word) {// TODO Auto-generated method stubreturn null;}@Overridepublic void remDefinition(String word, String defn) {// TODO Auto-generated method stub}@Overridepublic boolean contains(String word) {// TODO Auto-generated method stubreturn false;}@Overridepublic int numEntries() {// TODO Auto-generated method stubreturn 0;}}

Leave a Comment

Your email address will not be published. Required fields are marked *

Is this question part of your Assignment?

Get expert help

Girl in a jacket


We are a team of academic consultants with extensive experience in writing academic papers for college students in the US, Canada, UK, AU, and other parts of the world.

We help students with both technical and non-technical assignments across all majors & academic disciplines.

Unlike what our name suggests, we research and draft everything word for word. We do not use AI or any rewriting tool! We provide Turnitin reports for AI & Turnitin alongside every paper.

Need help? Send us your assignment now!

description here description here description here