EdocGram
Home
(current)
Topics
EdocAI
Code Editor
HTML
Javascript
PHP
Python
Python AI Code Editor
More
Contact
About
Privacy Policy
Terms and Conditions
Log In
Topic
View
More
Topic
Hashing
Linked List
Queue
Stack
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Tree
Topic: language-problem / Level: beginner
51. Write a program to implement a binary search algorithm.
52. Write a program to check if a number is a perfect square.
53. Write a program to calculate the sum of the first n even numbers.
54. Write a program to find the middle element of an array.
55. Write a program to check if a number is a power of two.
56. Write a program to calculate the greatest common divisor (GCD) using recursion.
57. Write a program to display the first n terms of the arithmetic series.
58. Write a program to find the longest word in a sentence.
59. Write a program to count the occurrences of a specific character in a string.
60. Write a program to implement a simple alarm clock using time functions.
61. Write a program to find the number of occurrences of each letter in a string.
62. Write a program to calculate the area of a rectangle.
63. Write a program to check if a number is an Armstrong number.
64. Write a program to find the sum of all odd numbers from 1 to n.
65. Write a program to print a pyramid pattern of stars.
66. Write a program to determine the number of digits in a number.
67. Write a program to print the reverse of a string using a loop.
68. Write a program to find the maximum and minimum in a list of numbers.
69. Write a program to find the LCM of two numbers.
70. Write a program to implement a basic file reader.
71. Write a program to check if a string is a valid palindrome.
72. Write a program to find the product of two matrices.
73. Write a program to calculate the average of n numbers using arrays.
74. Write a program to remove all whitespace from a string.
75. Write a program to implement a basic voting system using arrays.
76. Write a program to find the sum of squares of first n natural numbers.
77. Write a program to generate a random number between 1 and 100.
78. Write a program to print all the factors of a given number.
79. Write a program to find the frequency of vowels in a string.
80. Write a program to implement a basic ATM system.
81. Write a program to display the date and time using time functions.
82. Write a program to count the number of uppercase and lowercase letters in a string.
83. Write a program to check if two strings are equal, ignoring case.
84. Write a program to implement a simple text-based adventure game.
85. Write a program to calculate the sum of a geometric series.
86. Write a program to find the transpose of a matrix.
87. Write a program to implement a basic spell checker using an array of words.
88. Write a program to check if a string is a substring of another string.
89. Write a program to find the first non-repeated character in a string.
90. Write a program to create a simple stopwatch using time functions.
91. Write a program to implement a simple text-based calculator.
92. Write a program to find the second largest number in a list.
93. Write a program to calculate the sum of the first n odd numbers.
94. Write a program to check if a number is a happy number.
95. Write a program to print a diamond pattern using stars.
96. Write a program to calculate the number of days between two dates.
97. Write a program to convert decimal to binary.
98. Write a program to display all the prime factors of a number.
99. Write a program to implement a simple string encryption algorithm.
100. Write a program to count the number of times a substring appears in a string.
Previous
1
2
3
...
21
Next
More Levels
Intermediate
Advanced
Aniket The Programmer
This website is managed by aniket the programmer :)
Website
Instagram