Solve the java Questions

  1. Write a program to find the largest element in an array of integers.
  2. Write a program to reverse a string.
  3. Write a program to find the factorial of a given number using recursion.
  4. Write a program to check if a given string is a palindrome.
  5. Write a program to sort an array of integers using the bubble sort algorithm.
  6. Write a program to implement a stack data structure using arrays.
  7. Write a program to implement a queue data structure using linked lists.