Problem: Write a program to check if two given strings are anagrams of each other.Topic Covered: Strings, Character
Archives: Assignments
Description.
Question 9: Fibonacci Series
Problem: Write a program to print the first nnn terms of the Fibonacci series.Topic Covered: Loops, Series Generation
Question 8: Sorting Algorithm
Problem: Implement the Bubble Sort algorithm to sort a given array of integers in ascending order.Topic Covered: Sorting,
Question 7: Find Missing Number in an Array
Problem: Given an array containing numbers from 1 to nnn with one missing, write a program to find
Question 6: Factorial Calculation Using Recursion
Problem: Implement a recursive function to find the factorial of a given number nnn.Topic Covered: Recursion, Functions Try
Question 5: Prime Number Check
Problem: Write a program to check if a given number is a prime number.Topic Covered: Mathematical Computation, Loops,
Question 4: Matrix Operation
Problem: Given a 3×3 matrix, write a program to calculate the sum of the diagonal elements.Topic Covered: 2D
Question 3: Pattern Printing
Problem: Print the following pattern for a given number of rows n: Copy code 1 12 123 1234
Question 2: String Reversal
Problem: Write a program to check if a given string is a palindrome. Ignore case and spaces.Topic Covered:
Question 1: Array Manipulation
Problem: Given an array of integers, write a program to find the second largest element in the array.Topic