[SOLVED] CSE220 Assignment 4

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Assignment04-iy7i7n.zip (472.9 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
Rate this product

Each of the following 10 tasks should have 3 parts-

  1. Pseudo code/ java code
  2. Tracing
  3. Final output

Task 1:

Create a DoublyList of 5 elements using your nickname. Hint: If your name is John, then the elements should be –

Task 2

Print the elements in the List. Task 3

Count the number of elements in the List. Task 4

Get an element from the List where an index is given where index will be (last 3 digit of your ID%5).

Task 5

Set an element in the List where an index is given where index will be (last 3 digit of your ID%4).

| Deadline

Prev

DummyHead

Next

P

John1

N

P

John2

N

P

John3

N

P

John4

N

P

John5

N

Task 6

Search an element from the List where an index is given where index will be (last 3 digit of your ID%3).

Task 7

Insert an element in the List in –

  1. First position
  2. Last position
  3. A random position where Index will be (last 3 digit of your ID%5)

Task 8

Remove an element from the list from –

  1. First position
  2. Last position
  3. A random position where Index will be (last 3 digit of your ID%4)

Task 9

Make a reversed copy of the List.

Task 10

Rotate the List –

  1. To the right by 1 position.
  2. To the left by 2 position.
  1. To the right by 1 position.
  2. To the left by 1 position.
******************************************************************************
******************************************************************************
  • Assignment04-iy7i7n.zip