AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Python-language-question / Level: Beginner
91. Write a program to find the length of the longest substring with distinct characters.
92. Write a program to count the number of prime factors of a number.
93. Write a program to find the maximum sum of a contiguous subarray.
94. Write a program to check if a string is a valid URL.
95. Write a program to calculate the sum of the first n even numbers.
96. Write a program to find the number of ways to climb a staircase with n steps.
97. Write a program to print the first n terms of the arithmetic progression.
98. Write a program to find the common elements in three lists.
99. Write a program to remove all occurrences of a character from a string.
100. Write a program to check if a given number is a perfect square.
101. Write a program to check if a number is an Armstrong number in a range.
102. Write a program to find the GCD of a list of numbers.
103. Write a program to check if a string contains any special characters.
104. Write a program to print the first n terms of the geometric progression.
105. Write a program to find the largest prime factor of a number.
106. Write a program to generate a list of even numbers from 1 to n.
107. Write a program to find the sum of all the digits in a string representation of a number.
108. Write a program to find the product of all elements in a matrix.
109. Write a program to calculate the total number of digits in a number.
110. Write a program to check if a string is a valid IPv4 address.
111. Write a program to find the longest word in a file.
112. Write a program to calculate the area of a triangle given its base and height.
113. Write a program to generate a random float between 1 and 10.
114. Write a program to check if a number is in the Fibonacci sequence.
115. Write a program to count the number of times each word appears in a sentence.
116. Write a program to find the shortest path in a list of coordinates.
117. Write a program to check if a string contains all unique characters.
118. Write a program to find the total number of consonants in a string.
119. Write a program to find the longest consecutive sequence in an array.
120. Write a program to count the number of digits in a string.
Previous
1
2
3
4
5
6
7
Next
More Levels
Intermediate
Advanced
Most Visited
Write a program to check whether a number is even or odd.
Write a program to find the longest sequence of consecutive numbers in a list.
Write a program to implement the min-heap and max-heap data structures.
Write a program to find the common characters in two strings.
Write a program to find the longest path in a binary tree.
Write a program to find the longest valid parentheses substring.
Write a program to find the largest of three numbers.
Write a program to find the longest substring with at most two distinct characters.
Write a program to implement a simple file search application.
Write a program to calculate the factorial of a number using iteration.
Write a program to calculate the factorial of a number using loops.
Write a program to perform a depth-first search in a maze represented as a graph.
Write a program to calculate the number of unique paths in a grid with obstacles using dynamic programming.
Write a program to generate a random password with letters and digits.
Write a program to calculate the factorial of a number.