72 458
Assignments Done
98,8%
Successfully Done
In April 2019

Answer to Question #27357 in Action Script | Flash | Flex | ColdFusion for alli

Question #27357
Data Structures and Algorithm

Implement linkedlist for integers; following methods should be implemented.
void insertAtPosition(int x,int pos); //insert value x at given position
void insertAtEnd(int x); //insert value at the end of the list
void insertAtFront(int x); //insert value at the first position of the list
void removeFromFront(); //remove element from first position
void removeFromEnd(); //remove element from the end of the list
void removeFromPosition(int pos); //remove element from the position given by user. After the //operation there should be no gap in the elements of list
node* find(int x) const; //return the address
int findPosition(int pos) const; //find at given position and return the value
bool IsEmpty() const; //return true if list is empty
void print() const; //print the whole list
Note: Implement the main() to show that all above given methods are working properly
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions