Python

Problem 1: Write a Python function that calculates the square of a number.

Problem 2: Write a Python program to find the sum of all even numbers from 1 to N.

Problem 3: Write a Python program to calculate the average of a list of numbers.

Problem 4: Write a Python program to find the Nth Fibonacci number.

Problem 5: Write a Python program to check if a given number is prime or not.

Problem 6: Write a Python program to find the Greatest Common Divisor (GCD) of two numbers.

Problem 7: Write a Python program to reverse the words in a sentence.

Problem 8: Write a Python program to generate prime numbers up to a given limit N.

Problem 9: Find the Longest Common Subsequence

Problem 10: Generate Parentheses

Data Structures and Algorithms

Problem 1: Find the Kth Element from the End of a Linked List

Problem 2: Find the Maximum Element in a Stack

Problem 3: Implement a Queue using Stacks

Problem 4: Find the Intersection of Two Arrays

Problem 5: Reverse a Linked List

Problem 6: Find the Missing Number in an Array

Problem 7: Implement a Hash Table

Problem 8: Detect a Cycle in a Directed Graph

Problem 9: Find the Topological Sort of a Directed Graph

Problem 10: Check if a String is a Palindrome

Java

Problem 1: Write a Java program to implement a binary search algorithm for a sorted array.

Problem 2: Write a Java program to calculate the factorial of a given integer using recursion.

Problem 3: Write a Java program to find the sum of all prime numbers within a given range.

Problem 4: Write a Java program to count the frequency of each element in an array.

Problem 5: Write a Java program to count the frequency of each element in an array.

Problem 6: Write a Java program to determine if a string has all unique characters.

Problem 7: Write a Java program to find the shortest path in a maze using Breadth-First Search (BFS).

Problem 8: Write a Java program to implement a stack using two queues.

Problem 9: Write a Java program to implement a basic inventory management system for a store.

Problem 10: Write a Java program to implement a simple library management system.

C++

Problem 1: Write a C++ program to implement a simple calculator.

Problem 2: Write a C++ program to find the sum of all prime numbers between two given integers.

Problem 3: Write a C++ program to implement a stack that supports the following operations:

Problem 4: Write a C++ program to implement a simple student grading system.

Problem 5: Two Sum Given an array of integers, find two numbers such that they add up to a specific target number. Return the indices of the two numbers as an array. You may assume that each input has exactly one solution, and you may not use the same element twice.