C and C++ Programming Practice Problems

Many of these problems will also make for excellent C++ job interview preparation. Fill in the blank exercises are designed for true beginners, where a large portion of the code is already provided!

Fill in the blank exercises

Fill in the missing parts of the code to create a working program that will accomplish the stated task.

Basic Programming Challenges

  • Temperature Converter - Celsius to Farenheit
  • Count the number of lines in a file
  • Determine the size of a file
  • Find all permutations of a given input

Intermediate Programming Challenges

  • Integer to English Conversion
  • Factorial Challenge 
    No, not finding X factorial...
  • String Searching with wildcards
  • Converting Decimal to Binary
  • Computing Pascal's Triangle
  • Print a linked-list in reverse order
  • Implement an in-place linked list reversal

Advanced Programming Challenges

  • Efficiently find the Maximum Subarray Sum 
    It's possible to do it faster than you might think...
  • Write a self-printing program without file IO


No comments:

Post a Comment