Computer Science Help!!! all programs must be properly documents, follow Java co
ID: 3674204 • Letter: C
Question
Computer Science Help!!!
all programs must be properly documents, follow Java coding practices, and include dear output shows how you verified that your program works. Linked Lists - Dequeue Implement a nested class DoubleNode for building doubly-linked lists, where each node contains a reference to the item preceding it and the item following it in the list (null if there is no such item). Then implement methods for the following tasks: Insert at the beginning Insert at the end Remove from the beginning Remove from the end Insert before a give node Insert after a given node Remove a given node Move to front (move an object to the front) Move to end (moved and object to the end) Write a class ArithmeticExpressionEvaluator that evaluates an infix arithmetic expression. Do this is two steps. First, convert the infix expression to a postfix expression: create a filter Infix l oPostfix that converts an arithmetic expression from infix to postfix. Second, evaluate the postfix expression: write a postfix evaluator E valuatc Post fix that takes a postfix expression, evaluates it and print the value. Your program should print the infix expression, postfix expression, and the final result. Union-Find - Maze Write a program that generates mazes of arbitrary size using the union-find algorithm. A simple algorithm to generate the maze is to start by creating an N x M grid of cells separated by walls on all sides, except for entrance and exit. Then continually choosc a wall randomly, and knock it down if the cells are not already connected to each other. If we repeat the process until the starting and ending cells are connected, we have a maze. It is better to continue knocking down the walls until every cell is rcachable from every' cell as this would generate more false leads in the maze. Test you algorithm by creating a 10 times 10 grid, and print all the walls that have been knocked down. Draw the resulting maze (hand-drawing is acceptable)Explanation / Answer
a.
Please post remaining as separate questions.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.