Recent content by MattS134

  1. M

    Am I understanding horizontal shift properly?

    I don't believe the graph is compressed like a spring as you originally stated, but rather shifted to the right without changing any other properties of the graph. Compressions come up when f(x) is multiplied by constants, not when they are added or subtracted
  2. M

    Dynamic Programming - Restoring white space between words in a file

    All the white space among words in a text file was lost. Write a C++ program which using dynamic programming to get all of the possible original text files (i.e. with white spaces between words) and rank them in order of likelihood with the best possible runtime. You have a text file of...