Here we keep track of C problems in a category based manner. Any sort of contribution to the list is very much appriciated.
Contents:
- Introduction
- Algorithm
- Calculation and IO
- Decision making
- Loop and Array
- Function
- Pointer
- Struct
- File
Description | Difficulty | Occurrences | Link |
---|---|---|---|
Description | Difficulty | Occurrences | Link |
---|---|---|---|
Greatest Common Divisor | 4 | Fall2016-hw1 , Fall2019-hw1 |
🔗 |
Prime Number Check | 3 | Fall2016-hw1 |
🔗 |
Double Zeros | 5 | Fall2016-hw1 , Fall2019-hw1 |
🔗 |
Number System Conversion | 4 | Fall2016-hw1 |
🔗 |
Random Generator in Specified Range | 5 | Fall2016-hw1 |
🔗 |
Sum Multi-digit Numbers by Single Digits | 4 | Fall2016-hw1 |
🔗 |
Find Poisonous Mug | 8 | Fall2016-hw1 , Fall2019-hw1 , Fall2020-hw2 |
🔗 |
Cash Greedy | 5 | Fall2018-hw5 |
🔗 |
Reverse digits | 4 | Fall2019-hw1 |
🔗 |
Least Common Multiple of Series of n | 4 | Fall2019-hw1 |
🔗 |
Palindrome Multiple of 2-digit Numbers | 4 | Fall2019-hw1 |
🔗 |
Sum & Squared Sum of Series of n | 4 | Fall2019-hw1 |
🔗 |
Sieve of Eratosthenes | 5 | Fall2019-hw1 |
🔗 |
Path Number from top-left to bottom-right | 7 | Fall2019-hw1 |
🔗 |
Numbers Divisible By All Their Digits | 6 | Spring2020-hw1 |
🔗 |
Maximum Possible Number on Panels | 6 | Spring2020-hw1 |
🔗 |
Numbers are Less than Sum of Their Divisors | 5 | Spring2020-hw1 |
🔗 |
Zero Maker Calculator | 5 | Spring2020-hw1 |
🔗 |
Numbers are Equal with Sum of Power 5 of Their digits | 6 | Spring2020-hw1 |
🔗 |
Greatest Pandigital Prime Number | 6 | Spring2020-hw1 |
🔗 |
Least Multiple of n with Reminder in Specified Range | 4 | Fall2020-hw2 |
🔗 |
Prime Numbers in Series of n | 4 | Fall2020-hw2 |
🔗 |
Voting System | 5 | Fall2020-hw2 |
🔗 |
Irregular Triangular Triplets | 6 | Fall2020-hw2 |
🔗 |
Prime Numbers with Just Digit '1' in Binary | 5 | Fall2020-hw2 |
🔗 |
Description | Difficulty | Occurrences | Link |
---|---|---|---|
Weighted Average Scores | 2 | Fall2015-hw3 , Fall2016-hw3 |
🔗 |
Time Conflict | 6 | Fall2016-hw2 |
🔗 |
Time Conflict 2 | 6 | Fall2020-hw3 |
🔗 |
Print Random Even Numbers | 4 | Fall2019-hw2 |
🔗 |
Print Random Even Numbers 2 | 4 | Fall2016-hw2 |
🔗 |
Print Random Even Numbers 3 | 4 | Fall2017-hw2 , Fall2018-hw2 |
🔗 |
Perimeter, Area, Angles Of Diamond | 4 | Fall2016-hw2 |
🔗 |
Calculate Geometric Features Of Square | 5 | Fall2017-hw2 |
🔗 |
Calculate Mathematic Formula | 3 | Spring2019-hw2 |
🔗 |
Calculate Mathematic Formula 2 | 3 | Fall2017-hw4 |
🔗 |
Calculate Mathematic Formula 3 | 3 | Fall2017-hw2 |
🔗 |
Calculate Mathematic Formula 4 | 3 | Fall2016-hw2 |
🔗 |
Calculate Mathematic Formula 5 | 3 | Fall2018-hw2 , Fall2019-hw2 |
🔗 |
Calculate Mathematic Formula 6 | 3 | Spring2020-hw2 |
🔗 |
Calculate Mathematic Formula 7 | 3 | Fall2020-hw2 |
🔗 |
Passenger Waiting For Next Train Arrival | 6 | Spring2019-hw2 |
🔗 |
Parallelogram Area | 4 | Spring2019-hw2 |
🔗 |
Create Numbers By Operators | 4 | Fall2017-hw2 , Spring2019-hw2 |
🔗 |
Game Table | 1 | Spring2019-hw2 |
🔗 |
Postage Cost | 5 | Fall2018-hw2 |
🔗 |
Perimeter , Area Of Trapezium | 5 | Fall2018-hw2 |
🔗 |
Create Triangle With Random Vertices | 5 | Fall2019-hw2 |
🔗 |
Calculate BMI | 3 | Spring2020-hw2 |
🔗 |
Make Fruit Compote | 5 | Spring2020-hw2 |
🔗 |
Location , Movements Number Of Rabbits | 5 | Spring2020-hw2 |
🔗 |
Exchange Variables | 4 | Spring2020-hw2 |
🔗 |
Calculate Number Of Excel Columns | 8 | Spring2020-hw2 |
🔗 |
Estimate Match Result | 6 | Fall2020-hw3 |
🔗 |
Last Point Coordinates Of Rectangle | 4 | Fall2020-hw3 |
🔗 |
Colorful Rings | 7 | Fall2019-hw2 |
🔗 |
Number Of Lighted LEDs | 7 | Fall2019-hw3 |
🔗 |
Pishmargs Num | 8 | Fall2019-hw3 |
🔗 |
Shortest Path | 7 | Spring2020-hw3 |
🔗 |
Shortest Sum Of Distances Between Friends | 4 | Spring2020-hw3 |
🔗 |
Third Side Length Of Triangle | 5 | Fall2020-hw3 |
🔗 |
Calculate Salary | 3 | Fall2020-hw3 |
🔗 |
Minimum Squares Number | 3 | Fall2020-hw3 |
🔗 |
Calculation Output | 4 | Fall2016-hw2 |
🔗 |
Calculation Output 2 | 4 | Fall2017-hw2 |
🔗 |
Calculation Output 3 | 4 | Fall2018-hw2 , Fall2019-hw2 |
🔗 |
Calculation Output 4 | 4 | Fall2018-hw3 |
🔗 |
Calculation Output 5 | 4 | Spring2019-hw2 |
🔗 |
Calculation Output And Cast Question | 4 | Fall2020-hw3 |
🔗 |
Cast Question | 4 | Fall2016-hw2 |
🔗 |
Cast Question 2 | 4 | Fall2018-hw2 |
🔗 |
Cast Question 3 | 4 | Spring2019-hw2 |
🔗 |
Cast Question 4 | 4 | Fall2019-hw2 |
🔗 |
Find Compiling Errors | 4 | Spring2020-hw2 |
🔗 |
Find Compiling Errors 2 | 4 | Fall2020-hw2 |
🔗 |
The lost robot | 7 | Fall2021-hw3 |
🔗 |
Ascending Digits | 7 | Fall2021-hw3 |
🔗 |
Description | Difficulty | Occurrences | Link |
---|---|---|---|
Sort 6 numbers in descending order | 5 | Fall2015-hw3 |
🔗 |
Number of runs in serries | 7 | Fall2015-hw4 |
🔗 |
Shape recognition | 5 | Fall2017-hw3 , Fall2016-hw3 , Fall2015-hw3 |
🔗 |
rewrite the code with switch case | 3 | Fall2015-hw3 |
🔗 |
sort the input numbers in descending order with minimum comparisons | 7 | Fall2018-hw3 , ُSpring2019-hw3 , Fall2016-hw5 , Fall2015-hw3 |
🔗 |
Min and Max of the king's age | 4 | Fall2016-hw3 |
🔗 |
Pallindrome number | 3 | Fall2017-hw3 , Fall2016-hw3 |
🔗 |
Guessing the number game - part1 | 6 | Fall2017-hw5 |
🔗 |
Guessing the number game - part2 | 6 | Fall2017-hw5 |
🔗 |
Generate all the numbers congruence modulo given n | 5 | Fall2017-hw4 |
🔗 |
Common area of 2 rectangles | 7 | Fall2019-hw3 , Fall2017-hw3 , Fall2020-hw3 |
🔗 |
Use the minimum amount of switch cases | 4 | Fall2019-hw3 , Spring2019-hw3 , Fall2018-hw3 |
🔗 |
Use the least number of if-else | 4 | Fall2017-hw3 |
🔗 |
Intersection of 3 intervals | 6 | Spring2019-hw3 , Fall2018-hw3 |
🔗 |
Check the triangle type | 5 | Fall2018-hw3 |
🔗 |
Calculate the least number of bills | 5 | Fall2018-hw5 |
🔗 |
Check if input is in the given interval | 7 | Fall2018-hw4 |
🔗 |
3 or 4 points on a line and check if they form a rhombus | 5 | Spring2019-hw3 |
🔗 |
Check if inputs form a square | 6 | Fall2019-hw3 |
🔗 |
Intersection on n intervals | 6 | Fall2019-hw5 |
🔗 |
Put same amount of waters in jars | 5 | Fall2021-hw3 , Spring2020-hw3 |
🔗 |
Check if input is a leap year | 4 | Spring2020-hw3 |
🔗 |
Find the value of Z | 5 | Spring2019-hw3 |
🔗 |
Find maximum subtraction | 4 | Fall2021-hw3 |
🔗 |
Check equality of reminders | 3 | Fall2021-hw3 |
🔗 |
Isosceles triangle detection | 5 | Fall2021-hw3 |
🔗 |
Description | Difficulty | Occurrences | Link |
---|---|---|---|
The Armstrong number | 5 | Fall2021-hw4 |
🔗 |
Coordinate snail | 6 | Fall2021-hw4 |
🔗 |
Empty library cells | 6 | Fall2021-hw4 |
🔗 |
Divisor Printer | 6 | Fall2021-hw4 |
🔗 |
Sum of prime divisors | 4 | Fall2021-hw4 |
🔗 |
Seating in a row arrangement | 7 | Fall2021-hw4 |
🔗 |
Vertices coloring | 6 | Fall2021-hw4 |
🔗 |
Description | Difficulty | Occurrences | Link |
---|---|---|---|
Binary code furthest ones | 4 | Fall2019-hw5 |
🔗 |
Smallest primary and symmetrical number | 4 | Fall2019-hw5 |
🔗 |
Calculating a given sequence | 4 | Fall2019-hw5 |
🔗 |
Intersection of multiple tuples | 6 | Fall2019-hw5 |
🔗 |
Partially remove a string | 5 | Fall2019-hw7 |
🔗 |
Capitalize a messy string | 4 | Fall2020-hw4 |
🔗 |
Busiest time | 6 | Fall2020-hw5 |
🔗 |
Matrix determinant | 6 | Fall2020-hw5 |
🔗 |
String containing test | 3 | Fall2020-hw5 |
🔗 |
Decode string with shifted letters | 4 | Fall2020-hw5 |
🔗 |
Recursive function | 6 | Fall2020-hw5 |
🔗 |
Right and left digit check | 2 | Fall2020-Midterm |
🔗 |
Number in a series check | 4 | Spring2019-hw4 |
🔗 |
Game of calculations | 5 | Spring2019-hw4 |
🔗 |
Mth digit of number N | 2 | Spring2019-hw5 |
🔗 |
Fibonacci seriese | 5 | Spring2019-hw5 |
🔗 |
Simple calculator | 5 | Spring2019-hw5 |
🔗 |
Progress stairs | 3 | Spring2020-hw4 |
🔗 |
Matrix Determinant 2 | 6 | Spring2020-hw4 |
🔗 |
Number base changer | 7 | Spring2020-hw4 |
🔗 |
Digit exchanger | 6 | Spring2020-hw4 |
🔗 |
Cover with tiles | 7 | Fall2021-hw4 |
🔗 |
Description | Difficulty | Occurrences | Link |
---|---|---|---|
Dynamic matrix | 5 | Fall2017-hw7 |
🔗 |
Find the intersection of two sets | 5 | Fall2018-hw7 |
🔗 |
Find repeated letters in a string | 6 | Spring2019-hw7 |
🔗 |
Sum of rational numbers | 5 | Spring2019-hw7 |
🔗 |
Transpose and multiplication of matrix | 6 | Spring2019-hw7 |
🔗 |
Remove a string from another one | 6 | Fall2019-hw7 |
🔗 |
Print subsets | 8 | Fall2019-hw7 |
🔗 |
Find the smallest missing positive integer | 4 | Fall2019-hw7 |
🔗 |
Replace string | 6 | Spring2020-hw6 |
🔗 |
Chance game | 6 | Spring2020-hw6 |
🔗 |
Sum of distinct numbers | 7 | Spring2020-hw6 |
🔗 |
Snail in matrix | 7 | Spring2020-hw6 |
🔗 |
Find output | 4 | Fall2015-hw7 |
🔗 |
Find output 2 | 4 | Fall2017-hw7 |
🔗 |
Find output 3 | 4 | Fall2018-hw7 |
🔗 |
Find output 4 | 4 | Spring2019-hw7 |
🔗 |
Find output 5 | 4 | Fall2019-hw7 |
🔗 |
Find output 6 | 4 | Fall2019-hw7 |
🔗 |
Find output 7 | 4 | Fall2019-hw7 |
🔗 |
Debug and find output | 5 | Spring2020-hw6 |
🔗 |
Description | Difficulty | Occurrences | Link |
---|---|---|---|
Sort date with qsort | 8 | Fall2015-hw7 |
🔗 |
Remove node with specific value | 5 | Fall2015-hw7 |
🔗 |
Sum of rational numbers smaller than x | 7 | Fall2015-hw7 ,Spring2019-hw6 |
🔗 |
Add x before y in linked list | 4 | Fall2017-hw7 |
🔗 |
Sort n rational number in descending or ascending form | 7 | Fall2017-hw7 |
🔗 |
Count repeat of characters | 6 | Fall2018-hw7 |
🔗 |
Remove x with same values and keep the one with smallest y | 7 | Fall2018-hw7 |
🔗 |
Sort two ascending linked list in ascending form | 7 | Fall2019-hw8 |
🔗 |
Replace two neighbour numbers with each other | 6 | Fall2019-hw8 |
🔗 |
check if linked list is symmetrical | 5 | Fall2019-hw8 |
🔗 |
Sort students by thier average and student-id | 7 | Fall2019-hw8 |
🔗 |
Phonebook for students | 9 | Fall2019-hw8 ,Spring2019-hw6 |
🔗 |
Reverse linked list | 5 | Fall2020-hw6 |
🔗 |
Sum of two linked list | 5 | Fall2020-hw6 |
🔗 |
Sort two descending linked list in descending form | 7 | Fall2020-hw6 |
🔗 |
Place third linkedlist in place of second linked list in first linked list | 5 | Fall2020-hw6 |
🔗 |
Linked list with flag and date_or_cnt | 7 | Spring2019-hw6 |
🔗 |
Description | Difficulty | Occurrences | Link |
---|---|---|---|
Copy file content into another file | 3 | Fall2017-hw7 |
🔗 |
Read binary file and place min and max time into the beginning and end of file | 3 | Fall2017-hw7 |
🔗 |
Find average, min and max time | 3 | Fall2018-hw7 |
🔗 |