Skip to content

hapepo23/codewars-cplusplus-challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My solutions to Codewars challenges - programmed in C++.

C++

badge


A word of warning

If you really want to learn C++ and improve through the challenges, don't just copy my solutions. You won't learn anything that way!


My solutions to some Codewars challenges, programmed in C++, might not be the most sophisticated, but at least mostly easy to read and understand. However, a few are implemented rather poorly, as I am still a beginner.


!! Security Notice !!

The code I released here into the public domain may appear in third-party projects. I do not maintain, endorse, or have any affiliation with such projects. Any malicious or deceptive use is unauthorized and should be reported to the hosting platform.


List of all challenges I solved in C++

  1. <3 kyu> The Lift - Solution: the_lift.cpp
  2. <4 kyu> Matrix Determinant - Solution: determinant.cpp
  3. <4 kyu> Number of Proper Fractions with Denominator d - Solution: number_proper_fractions.cpp
  4. <5 kyu> Beeramid - Solution: beeramid.cpp
  5. <5 kyu> Build a quadratic equation - Solution: build_quadratic_equation.cpp
  6. <5 kyu> Calculating with Functions - Solution: calculating_with_functions.cpp
  7. <5 kyu> The Hashtag Generator - Solution: hashtag_generator.cpp
  8. <6 kyu> Are they the "same"? - Solution: same_arrays.cpp
  9. <6 kyu> Banker's Plan - Solution: bankers_plan.cpp
  10. <6 kyu> Calculate the area of a regular n sides polygon inside a circle of radius r - Solution: polygon_area_inside_circle.cpp
  11. <6 kyu> Count the smiley faces! - Solution: count_smileys.cpp
  12. <6 kyu> Duplicate Encoder - Solution: duplicate_encoder.cpp
  13. <6 kyu> Find most frequent element in a list - Solution: find_most_frequent.cpp
  14. <6 kyu> Find the missing letter - Solution: find_missing_letter.cpp
  15. <6 kyu> Find the odd int - Solution: find_the_odd_int.cpp
  16. <6 kyu> FIXME: Hello - Solution: fixme_hello.cpp
  17. <6 kyu> (L33T + Grεεκ) Case - Solution: leet_greek_case.cpp
  18. <6 kyu> Multiple of 11 - Solution: multiple_of_eleven.cpp
  19. <6 kyu> Rectangle into Squares - Solution: rectangle_into_squares.cpp
  20. <6 kyu> Split Strings - Solution: split_strings.cpp
  21. <6 kyu> Sums of Parts - Solution: sum_of_parts.cpp
  22. <6 kyu> Sum The Tree - Solution: sum_the_tree.cpp
  23. <6 kyu> Train your skills in creation of classes - Solution: class_creation_skills.cpp
  24. <6 kyu> Unique In Order - Solution: unique_in_order.cpp
  25. <7 kyu> Convert Time to String - Solution: convert_time_to_string.cpp
  26. <7 kyu> Correct the time-string - Solution: correct_time_string.cpp
  27. <7 kyu> Descending Order - Solution: descending_order.cpp
  28. <7 kyu> Disemvowel Trolls - Solution: disemvowel.cpp
  29. <7 kyu> Drone Fly-By - Solution: drone_fly_by.cpp
  30. <7 kyu> Find Count of Most Frequent Item in an Array - Solution: most_frequent_item_count.cpp
  31. <7 kyu> Friend or Foe? - Solution: friend_or_foe.cpp
  32. <7 kyu> FromPascalToCpp - Solution: from_pascal_to_cpp.cpp
  33. <7 kyu> Fun with operators - Solution: fun_with_operators.cpp
  34. <7 kyu> Growth of a Population - Solution: population_growth.cpp
  35. <7 kyu> Isograms - Solution: isograms.cpp
  36. <7 kyu> Mumbling - Solution: mumbling.cpp
  37. <7 kyu> Pointer Swap - Solution: pointer_swap.cpp
  38. <7 kyu> Printer Errors - Solution: printer_errors.cpp
  39. <7 kyu> Pyramid Structure Analyzer - Solution: pyramid_structure_analyzer.cpp
  40. <7 kyu> Remove All The Marked Elements of a List - Solution: remove_array_values.cpp
  41. <7 kyu> Shortest Word - Solution: shortest_word.cpp
  42. <7 kyu> Sort array by string length - Solution: sort_array_by_string_length.cpp
  43. <7 kyu> String matchup - Solution: string_matchup.cpp
  44. <7 kyu> You're a square! - Solution: is_square.cpp
  45. <8 kyu> Bin to Decimal - Solution: bin_to_decimal.cpp
  46. <8 kyu> Century From Year - Solution: century_from_year.cpp
  47. <8 kyu> Convert a Number to a String! - Solution: number_to_string.cpp
  48. <8 kyu> Convert boolean values to strings 'Yes' or 'No'. - Solution: boolean_to_string.cpp
  49. <8 kyu> Convert number to reversed array of digits - Solution: digitize.cpp
  50. <8 kyu> Count by X - Solution: count_by_x.cpp
  51. <8 kyu> Find the smallest integer in the array - Solution: smallest_value.cpp
  52. <8 kyu> How good are you really? - Solution: how_good_really.cpp
  53. <8 kyu> Personalized Message - Solution: personalized_message.cpp
  54. <8 kyu> Remove First and Last Character - Solution: string_remove_first_last_char.cpp
  55. <8 kyu> Reversed Strings - Solution: string_reverse.cpp
  56. <8 kyu> String repeat - Solution: string_repeat.cpp
  57. <8 kyu> Sum Arrays - Solution: sum_arrays.cpp
  58. <8 kyu> Sum of positive - Solution: positive_sum.cpp
  59. <8 kyu> Third Angle of a Triangle - Solution: third_angle_triangle.cpp