Solve the java Questions
- Write a program to find the largest element in an array of integers.
- Write a program to reverse a string.
- Write a program to find the factorial of a given number using recursion.
- Write a program to check if a given string is a palindrome.
- Write a program to sort an array of integers using the bubble sort algorithm.
- Write a program to implement a stack data structure using arrays.
- Write a program to implement a queue data structure using linked lists.