Codewars sorts problems by difficulty. 8kyu problems are the easiest. But this sorting is not specific to the programming language. In particular, C students learn dynamic memory allocation late in their first semester. Assigning introductory C students to to "easy 8kyu Codewars problems" is problematic.
This document sorts all 180 8kyu Codewars problems by chapter in Stephen Prata's "C Primer Plus" book. I roughly sort problems by difficulty within each chapter list (easiest first).
If you are using this list to assign problems to students, I recommend giving the students the goal of solving a subset of the problems they can theoretically solve. For example, I believe seven problems are solvable by students after reading chapter 2 of the Stephen Prata book. Your assignment could be for the students to solve any three of them before moving onto chapter 3.
A huge number of problems become available once the students learn arrays, strings, and dynamic memory allocation (chapters 10-12)
This sorting is error-prone. As of December 2022 this list should be considered draft. I welcome pull requests to refine the list. I intend to create Codewars collections for each of these, but want to refine the list before doing that work.
- BASIC: Making Six Toast https://www.codewars.com/kata/5834fec22fb0ba7d080000e8
- Get Nth Even Number https://www.codewars.com/kata/5933a1f8552bc2750a0000ed
- Multiply https://www.codewars.com/kata/50654ddff44f800200000004
- Third Angle of a Triangle https://www.codewars.com/kata/5a023c426975981341000014
- Function 2 - squaring an argument https://www.codewars.com/kata/523b623152af8a30c6000027
- You Can't Code Under Pressure #1 https://www.codewars.com/kata/53ee5429ba190077850011d4
- Beginner Series #2 Clock https://www.codewars.com/kata/55f9bca8ecaa9eac7100004a
- Incorrect division method https://www.codewars.com/kata/54d1c59aba326343c80000e7
- Opposite number https://www.codewars.com/kata/56dec885c54a926dcd001095
- Volume of a Cuboid https://www.codewars.com/kata/58261acb22be6e2ed800003a
- Grasshopper - Messi goals function https://www.codewars.com/kata/55f73be6e12baaa5900000d4
- Miles per gallon to kilometers per liter https://www.codewars.com/kata/557b5e0bddf29d861400005d
- For Twins: 2. Math operations https://www.codewars.com/kata/59c287b16bddd291c700009a
- Grasshopper - Check for factor https://www.codewars.com/kata/55cbc3586671f6aa070000fb
- Thinkful - Number Drills: Blue and red marbles https://www.codewars.com/kata/5862f663b4e9d6f12b00003b
- get character from ASCII Value https://www.codewars.com/kata/55ad04714f0b468e8200001c
- Count the number of cubes with paint on https://www.codewars.com/kata/5763bb0af716cad8fb000580
- Calculate BMI https://www.codewars.com/kata/57a429e253ba3381850000fb
- Pillars https://www.codewars.com/kata/5bb0c58f484fcd170700063d
- Total pressure calculation https://www.codewars.com/kata/5b7ea71db90cc0f17c000a5a
- Grasshopper - Terminal game move function https://www.codewars.com/kata/563a631f7cbbc236cf0000c2
- Take the Derivative https://www.codewars.com/kata/5963c18ecb97be020b0000a2
Topics covered: while, typedef, math operators (including modulus), compound statements, automatic type conversions, typecasts, functions that use arguments
- Quarter of the year https://www.codewars.com/kata/5ce9c1000bab0b001134f5af
- Opposites Attract https://www.codewars.com/kata/555086d53eac039a2a000083
- Century From Year https://www.codewars.com/kata/5a3fe3dde1ce0e8ed6000097
- Is n divisible by x and y? https://www.codewars.com/kata/5545f109004975ea66000086
- Simple Fun #1: Seats in Theater https://www.codewars.com/kata/588417e576933b0ec9000045
- Plural https://www.codewars.com/kata/52ceafd1f235ce81aa00073a
- Holiday VIII - Duty Free https://www.codewars.com/kata/57e92e91b63b6cbac20001e5
- Beginner Series #4 Cockroach https://www.codewars.com/kata/55fab1ffda3e2e44f00000c6
- Area of a Square https://www.codewars.com/kata/5748838ce2fab90b86001b1a
- Twice as old https://www.codewars.com/kata/5b853229cfde412a470000d0
- Convert to Binary https://www.codewars.com/kata/59fca81a5712f9fa4700159a
- Is it even? https://www.codewars.com/kata/555a67db74814aa4ee0001b5
Topics covered: For, while, do, inequality operators, do/while, arrays (introduction), writing functions that return values
- Student's Final Grade https://www.codewars.com/kata/5ad0d8356165e63c140014d4
- Exclusive "or" (xor) Logical Operator https://www.codewars.com/kata/56fa3c5ce4d45d2a52001b3c
- Compare within margin https://www.codewars.com/kata/56453a12fcee9a6c4700009c
- Count Odd Numbers below n https://www.codewars.com/kata/59342039eb450e39970000a6
- Grasshopper - Summation https://www.codewars.com/kata/55d24f55d7dd296eb9000030
- Is he gonna survive? https://www.codewars.com/kata/59ca8246d751df55cc00014c
Topics covered: If-else, switch, continue, break, case, default, goto, logical and, logical or, conditional operator, putchar(), getchar(), <type.h>, nesting if-else, character analysis (islower() etc).
- L1: Set Alarm https://www.codewars.com/kata/568dcc3c7f12767a62000038
- Grasshopper - If/else syntax debug https://www.codewars.com/kata/57089707fe2d01529f00024a
- Return Negative https://www.codewars.com/kata/55685cd7ad70877c23000102
- Alan Partridge II - Apple Turnover https://www.codewars.com/kata/580a094553bd9ec5d800007d
- Check same case https://www.codewars.com/kata/5dd462a573ee6d0014ce715b
- Area or Perimeter https://www.codewars.com/kata/5ab6538b379d20ad880000ab
- What's the real floor? https://www.codewars.com/kata/574b3b1599d8f897470018f6
- Will there be enough space? https://www.codewars.com/kata/5875b200d520904a04000003
- Even or Odd https://www.codewars.com/kata/53da3dbb4a5168369a0000fe
- Grasshopper - Grade book https://www.codewars.com/kata/55cbd4ba903825f7970000f5
- Simple multiplication https://www.codewars.com/kata/583710ccaa6717322c000105
- Convert a Boolean to a String https://www.codewars.com/kata/551b4501ac0447318f0009cd
- Convert boolean values to strings 'Yes' or 'No'. https://www.codewars.com/kata/53369039d7ab3ac506000467
- Will you make it? https://www.codewars.com/kata/5861d28f124b35723e00005e
- Transportation on vacation https://www.codewars.com/kata/568d0dd208ee69389d000016
- Expressions Matter https://www.codewars.com/kata/5ae62fcf252e66d44d00008e
- Closest elevator https://www.codewars.com/kata/5c374b346a5d0f77af500a5a
- Get Planet Name By ID https://www.codewars.com/kata/515e188a311df01cba000003
- Basic Mathematical Operations https://www.codewars.com/kata/57356c55867b9b7a60000bd7
- Find Nearest square number https://www.codewars.com/kata/5a805d8cafa10f8b930005ba
Topics covered: input, output, buffered vs unbuffered input, simulating end-of-file from the keyboard, pipes and redirection, user interface
- Parse nice int from char problem https://www.codewars.com/kata/557cd6882bfa3c8a9f0000c1
- Convert a String to a Number! https://www.codewars.com/kata/544675c6f971f7399a000e79
Topics covered: Return, address, * indirection operator, functions, arguments, return values, function types, ANSI C prototypes, recursion
- The 'if' function https://www.codewars.com/kata/54147087d5c2ebe4f1000805
Topics covered: static, &, * indirection operator, arrays, pointers and arrays, writing functions that process arrays, two-dimensional arrays
- How many stairs will Suzuki climb in 20 years? https://www.codewars.com/kata/56fc55cd1f5a93d68a001d4e
- Find Maximum and Minimum Values of a List https://www.codewars.com/kata/577a98a6ae28071780000989
- Sum Arrays https://www.codewars.com/kata/53dc54212259ed3d4f00071c
- Find the smallest integer in the array https://www.codewars.com/kata/55a2d7ebe362935a210000b2
- SpeedCode #2 - Array Madness https://www.codewars.com/kata/56ff6a70e1a63ccdfa0001b1
- Enumerable Magic - Does My List Include This? https://www.codewars.com/kata/545991b4cbae2a5fda000158
- Reversed sequence https://www.codewars.com/kata/5a00e05cc374cb34d100000d
- Sum of positive https://www.codewars.com/kata/5715eaedb436cf5606000381
- Get the mean of an array https://www.codewars.com/kata/563e320cee5dddcf77000158
- Counting sheep... https://www.codewars.com/kata/54edbc7200b811e956000556
- Removing Elements https://www.codewars.com/kata/5769b3802ae6f8e4890009d2
- N-th Power https://www.codewars.com/kata/57d814e4950d8489720008db
- Powers of 2 https://www.codewars.com/kata/57a083a57cb1f31db7000028
- Array plus array https://www.codewars.com/kata/5a2be17aee1aaefe2a000151
- Count by X https://www.codewars.com/kata/5513795bd3fafb56c200049e
- Square(n) Sum https://www.codewars.com/kata/515e271a311df0350d00000f
- Difference of Volumes of Cuboids https://www.codewars.com/kata/58cb43f4256836ed95000f97
- Calculate average https://www.codewars.com/kata/57a2013acf1fa5bfc4000921
- Invert values https://www.codewars.com/kata/5899dc03bc95b1bf1b0000ad
- Sum without highest and lowest number https://www.codewars.com/kata/576b93db1129fcf2200001e6
- How good are you really? https://www.codewars.com/kata/5601409514fc93442500010b
- Coefficients of the Quadratic Equation https://www.codewars.com/kata/5d59576768ba810001f1f8d6
- Pythagorean Triple https://www.codewars.com/kata/5951d30ce99cf2467e000013
- Convert number to reversed array of digits https://www.codewars.com/kata/5583090cbe83f4fd8c000051
- Count the Monkeys! https://www.codewars.com/kata/56f69d9f9400f508fb000ba7
- Find the first non-consecutive number https://www.codewars.com/kata/58f8a3a27a5c28d92e000144
- What is between? https://www.codewars.com/kata/55ecd718f46fba02e5000029
- Sum of differences in array https://www.codewars.com/kata/5b73fe9fb3d9776fbf00009e
- Find Multiples of a Number https://www.codewars.com/kata/58ca658cc0d6401f2700045f
- Total amount of points https://www.codewars.com/kata/5bb904724c47249b10000131
- To square(root) or not to square(root) https://www.codewars.com/kata/57f6ad55cca6e045d2000627
- Enumerable Magic #1 - True for All? https://www.codewars.com/kata/54598d1fcbae2ae05200112c
- Enumerable Magic #2 - True for Any? https://www.codewars.com/kata/54598e89cbae2ac001001135
Topics covered: gets(), gets_s(), fgets(), puts(), fputs(), strcat(), strncat(), strcmp(), strncmp(), strcpy(), strncpy(), sprintf(), strchr(), creating and using strings, <string.h>, using command-line arguments
- Remove First and Last Character https://www.codewars.com/kata/56bc28ad5bdaeb48760009b0
- How many lightsabers do you own? https://www.codewars.com/kata/51f9d93b4095e0a7200001b8
- Is the string uppercase? https://www.codewars.com/kata/56cd44e1aa4ac7879200010b
- Exclamation marks series #1: Remove an exclamation mark from the end of string https://www.codewars.com/kata/57fae964d80daa229d000126
- Grasshopper - Personalized Message https://www.codewars.com/kata/5772da22b89313a4d50012f7
- All Star Code Challenge #18 https://www.codewars.com/kata/5865918c6b569962950002a1
- I love you, a little , a lot, passionately ... not at all https://www.codewars.com/kata/57f24e6a18e9fad8eb000296
- ASCII Total https://www.codewars.com/kata/572b6b2772a38bc1e700007a
- Stringy Strings https://www.codewars.com/kata/563b74ddd19a3ad462000054
- They say that only the name is long enough to attract attention. They also said that only a simple Kata will have someone to solve it. This is a sadly story #1: Are they opposite? https://www.codewars.com/kata/574b1916a3ebd6e4fa0012e7
- The Feast of Many Beasts https://www.codewars.com/kata/5aa736a455f906981800360d
- Well of Ideas - Easy Version https://www.codewars.com/kata/57f222ce69e09c3630000212
- Is this my tail? https://www.codewars.com/kata/56f695399400f5d9ef000af5
- Return the day https://www.codewars.com/kata/59dd3ccdded72fc78b000b25
- Correct the mistakes of the character recognition software https://www.codewars.com/kata/577bd026df78c19bca0002c0
- MakeUpperCase https://www.codewars.com/kata/57a0556c7cb1f31ab3000ad7
- Hex to Decimal https://www.codewars.com/kata/57a4d500e298a7952100035d
- Simple validation of a username with regex https://www.codewars.com/kata/56a3f08aa9a6cc9b75000023
- Name Shuffler https://www.codewars.com/kata/559ac78160f0be07c200005a
- Bin to Decimal https://www.codewars.com/kata/57a5c31ce298a7e6b7000334
- Double Char https://www.codewars.com/kata/56b1f01c247c01db92000076
- Remove exclamation marks https://www.codewars.com/kata/57a0885cbb9944e24c00008e
- Is it a palindrome? https://www.codewars.com/kata/57a1fd2ce298a731b20006a4
- String cleaning https://www.codewars.com/kata/57e1e61ba396b3727c000251
- USD => CNY https://www.codewars.com/kata/5977618080ef220766000022
- Exclamation marks series #2: Remove all exclamation marks from the end of sentence https://www.codewars.com/kata/57faece99610ced690000165
- My head is at the wrong end! https://www.codewars.com/kata/56f699cd9400f5b7d8000b55
- Vowel remover https://www.codewars.com/kata/5547929140907378f9000039
- Fake Binary https://www.codewars.com/kata/57eae65a4321032ce000002d
- Get number from string https://www.codewars.com/kata/57a37f3cbb99449513000cd8
- Abbreviate a Two Word Name https://www.codewars.com/kata/57eadb7ecd143f4c9c0000a3
- Sum The Strings https://www.codewars.com/kata/5966e33c4e686b508700002d
Topics covered: Auto, extern, static, register, const, volatile, restricted, _Thread_local, _Atomic, rand(), srand(), time(), malloc(), calloc(), free(), determining scope and lifetime of a variable, designing more complex programs
- Convert a Number to a String! https://www.codewars.com/kata/5265326f5fda8eb1160004c8
- Reverse List Order https://www.codewars.com/kata/53da6d8d112bd1a0dc00008b
- Are You Playing Banjo? https://www.codewars.com/kata/53af2b8861023f1d88000832
- Reversed Strings https://www.codewars.com/kata/5168bb5dfe9a00b126000018
- Find the position! https://www.codewars.com/kata/5808e2006b65bff35500008f
- If you can't sleep, just count sheep!! https://www.codewars.com/kata/5b077ebdaf15be5c7f000077
- Beginner - Lost Without a Map https://www.codewars.com/kata/57f781872e3d8ca2a000007e
- Switch it Up! https://www.codewars.com/kata/5808dcb8f0ed42ae34000031
- String repeat https://www.codewars.com/kata/57a0e5c372292dd76d000d7e
- Keep up the hoop https://www.codewars.com/kata/55cb632c1a5d7b3ad0000145
- Coding 3min : Jumping Dutch act https://www.codewars.com/kata/570bcd9715944a2c8e000009
- Find the Difference in Age between Oldest and Youngest Family Members https://www.codewars.com/kata/5720a1cb65a504fdff0003e2
- Generate range of integers https://www.codewars.com/kata/55eca815d0d20962e1000106
- Short Long Short https://www.codewars.com/kata/50654ddff44f800200000007
- Do I get a bonus? https://www.codewars.com/kata/56f6ad906b88de513f000d96
- Hello, Name or World! https://www.codewars.com/kata/57e3f79c9cb119374600046b
- Multiplication table for number https://www.codewars.com/kata/5a2fd38b55519ed98f0000ce
- DNA to RNA Conversion https://www.codewars.com/kata/5556282156230d0e5e000089
- altERnaTIng cAsE <=> ALTerNAtiNG CaSe https://www.codewars.com/kata/56efc695740d30f963000557
- Remove String Spaces https://www.codewars.com/kata/57eae20f5500ad98e50002c5
- Exclamation marks series #11: Replace all vowel to exclamation mark in the sentence https://www.codewars.com/kata/57fb09ef2b5314a8a90001ed
- Count of positives / sum of negatives https://www.codewars.com/kata/576bb71bbbcf0951d5000044
- A Needle in the Haystack https://www.codewars.com/kata/56676e8fabd2d1ff3000000c
- Find the Integral https://www.codewars.com/kata/59811fd8a070625d4c000013
- Triple Trouble https://www.codewars.com/kata/5704aea738428f4d30000914
- Return Two Highest Values in List https://www.codewars.com/kata/57ab3c09bb994429df000a4a
- Sentence Smash https://www.codewars.com/kata/53dc23c68a0c93699800041d
- Exclamation marks series #4: Remove all exclamation marks from sentence but ensure a exclamation mark at the end of string https://www.codewars.com/kata/57faf12b21c84b5ba30001b0
- CSV representation of array https://www.codewars.com/kata/5a34af40e1ce0eb1f5000036
- Remove duplicates from list https://www.codewars.com/kata/57a5b0dfcf1fa526bb000118
- Convert a string to an array https://www.codewars.com/kata/57e76bc428d6fbc2d500036d
- Exclamation marks series #6: Remove n exclamation marks in the sentence from left to right https://www.codewars.com/kata/57faf7275c991027af000679
Topics covered: fopen(), getc(), putc(), exit(), fclose(), fprintf(), fscanf(), fgets(), fputs(), rewind(), fseek(), ftell(), flush(), fgetpos(), fsetpos(), feof(), ferror(), ungetc(), setvbuf(), fread(), fwrite()
No 8kyu Codewars problems cover file input/output.
Topics covered: struct, union, typdef, ->, . (accessing member of a struct), structure templates, typedef, unions, pointers to functions, enum
- Thinkful - Logic Drills: Traffic light https://www.codewars.com/kata/58649884a1659ed6cb000072
- Geometry Basics: Distance between points in 2D https://www.codewars.com/kata/58dced7b702b805b200000be
- Rock Paper Scissors! https://www.codewars.com/kata/5672a98bdbdd995fad00000f
- Define a card suit https://www.codewars.com/kata/5a360620f28b82a711000047
- Points of Reflection https://www.codewars.com/kata/57bfea4cb19505912900012c
- Enumerable Magic #4 - True for None? https://www.codewars.com/kata/545993ee52756d98ca0010e1
- Parse float https://www.codewars.com/kata/57a386117cb1f31890000039
No 8kyu Codewars problems cover bit fiddling
Topics covered: #define, #include, #ifdef, #else, #endif, #ifndef, #if, #elif, #line, #error, #pragma, _Generic, _Noreturn, _Static_assert, function-like macros, conditional compilation, generic selection expression, C library and handy functions
No 8kyu Codewars problems cover the C preprocessor
Topics covered: Malloc, using C to represent a variety of data types, new algorithms, developing programs conceptually, abstract data types
No 8kyu Codewars problems cover advanced data representation
- Help the Elite Squad of Brazilian forces BOPE https://www.codewars.com/kata/5ab52526379d20736b00000e
- Capitalization and Mutability https://www.codewars.com/kata/595970246c9b8fa0a8000086
- 5 without numbers !! https://www.codewars.com/kata/59441520102eaa25260000bf
- Gravity Flip https://www.codewars.com/kata/5f70c883e10f9e0001c89673
- Welcome! https://www.codewars.com/kata/577ff15ad648a14b780000e7
- Basic variable assignment https://www.codewars.com/kata/50ee6b0bdeab583673000025
- Subtract the Sum https://www.codewars.com/kata/56c5847f27be2c3db20009c3
- Function 1 - hello world https://www.codewars.com/kata/523b4ff7adca849afe000035
- Evil or Odious https://www.codewars.com/kata/56fcfad9c7e1fa2472000034
- Reverse list recursively https://www.codewars.com/kata/57a883cfbb9944a97c000088