Thread: Where can I find the solutions to the Practice Problems?

  1. #1
    Registered User
    Join Date
    Mar 2021
    Posts
    1

    Where can I find the solutions to the Practice Problems?

    Hi everyone,
    I recently bought Alex's book - Jumping into C++ and it's truley a great book. However, I can't find the solutions to all the practice problems. It would be great to have it by my side to compare my code against Alex's code. If you have a github or something with the solutions and don't mind throw it my way I would highly appreciate it.

  2. #2
    Registered User
    Join Date
    Mar 2021
    Posts
    1
    Dynamic Programming is a method for solving a complex problem by breaking it down into a collection of simpler subproblems, solving each of those subproblems just once, and storing their solutions using a memory-based data structure (array, map,etc). Each of the subproblem solutions is indexed in some way, typically based on the values of its input parameters, so as to facilitate its lookup. So the next time the same subproblem occurs, instead of recomputing its solution, one simply looks up the previously computed solution, thereby saving computation time. This technique of storing solutions to subproblems instead of recomputing them is called memoization.
    Here’s brilliant explanation on concept of Dynamic Programming on Quora Jonathan Paulson’s answer to How should I explain dynamic programming to a 4-year-old?
    Want to read this story later? Save it in Journal.
    Please find below top 10 common data structure problems that can be solved using Dynamic programming -

    1.Longest Common Subsequence | Introduction & LCS Length
    2.Longest Common Subsequence | Finding all LCS
    3.Longest Common Substring problem
    4.Longest Palindromic Subsequence using Dynamic Programming
    5.Longest Repeated Subsequence Problem
    6.Implement Diff Utility
    7.Shortest Common Supersequence | Introduction & SCS Length
    8.Shortest Common Supersequence | Finding all SCS
    9.Longest Increasing Subsequence using Dynamic Programming
    10.Longest Bitonic Subsequence

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Practice Problems Help
    By StaticBlue in forum C++ Programming
    Replies: 2
    Last Post: 03-03-2014, 09:37 AM
  2. Where to find practice problems for C
    By ryant324 in forum C Programming
    Replies: 9
    Last Post: 01-31-2014, 08:16 PM
  3. Where can I find C problems and solutions?
    By zerokernel in forum C Programming
    Replies: 1
    Last Post: 11-16-2010, 11:49 AM
  4. more casting problems none solutions have worked
    By bazzano in forum C Programming
    Replies: 1
    Last Post: 08-30-2005, 07:12 AM
  5. Practice Problems
    By Eultza in forum C++ Programming
    Replies: 3
    Last Post: 01-02-2004, 12:13 PM

Tags for this Thread