Week 5.md 424B

Week 5

Problem 1

Consider linearArray is a linear array with n elements and k is a positive integer such that k<=n.

Write a Java program to delete an element available at the kth position of linearArray.

Problem 2

Let linearArray be a Linear Array (unordered) with n elements and k is a positive integer such that k<=n.

Write a Java program to insert an item into the kth position of linearArray.

```