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
@Override
public void addDefinition(String word, String defn) {
// TODO Auto-generated method stub
}
@Override
public Iterable<String> getDefinitions(String word) {
// TODO Auto-generated method stub
return null;
}
@Override
public void remDefinition(String word, String defn) {
// TODO Auto-generated method stub
}
@Override
public boolean contains(String word) {
// TODO Auto-generated method stub
return false;
}
@Override
public int numEntries() {
// TODO Auto-generated method stub
return 0;
}
}
9 years ago
5
- Diversity and Personality at Work
- ACC 225 Week 3 CheckPoint Adjustments and Accrual and Cash Basis Accounting
- general chemistry 1 HW online quiz
- science lab
- CP DB 1
- Assignment 2: Problem Solving
- Principles of Accounting Final Paper
- Applied Science For Modernist Cuisine
- Due July 19 before 7pm easter standard time
- HRM 552 Week 5 Individual Assignment Strategic HR Approach