1) write a python program that solves the SubsetSum problem. 2) Modify the program with pruning…

1) write a python program that solves the SubsetSum problem.

2) Modify the program with pruning or other means to allow it to work on larger data sets. Put a comment at the top of the file indicating what you did to speed it up.

Testing? Your program should include testing data to show:

  • it works
    how large n (set size) can be accomplished in reasonable time

Code should be written generally and works on the following inputs:

  • [3,34,4,12,5,2] and target = 9
  • [3,34,4,12,5,2] and target = 30
  • [8, 3, 2, 5, 7] and target = 14

Code is written generally and works on the following inputs in a reasonable amount of time:

  • [8,20,16,7,10,34,4,12,2,5,3] and target = 9
  • [8,20,16,7,10,34,4,12,2,5,3] and target = 124
  • [13,59,84,29,28,6,82,58,49,76,33,94,12,73,6,52,60,43,85] and target = 61
  • [13,59,84,29,28,6,82,58,49,76,33,94,12,73,6,52,60,43,85] and target = 437

point for each of the following that work in less than 10 seconds

  • [73,70,83,94,94,93,88,26,43,21,61,89,81,96,19,99,52,79,17,39,98,7,95,71,47,22,17,46,66] and target = 437
  • [70,68,21,85,9,38,34,92,52,36,93,1,66,9,66,62,47,78,19,37,39,14,61,57,45,32,72,61,18] and target = 692
  • [70,68,21,85,9,38,34,92,52,36,93,1,66,9,66,62,47,78,19,37,39,14,61,57,45,32,72,61,18] and target = 1491

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Online Academic Experts
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Social Work and Human Services
Great work I would love to continue working with this writer thought out the 11 week course.
Customer 452667, May 30th, 2021
I just need some minor alterations. Thanks.
Customer 452547, February 10th, 2021
Business and administrative studies
Customer 453201, October 22nd, 2022
Usually, references need to be within the past 5 years. Thank you :)
Customer 452547, July 16th, 2021
I am beyond eager to write this review for this writer. I received a grade of "Mastered"upon first submission on this assignment. I will shout to the rooftops ENCOURAGING you to hire him. I have used other writers but NONE have delivered such awesome work as this writer and NONE of their prices can compare to his. He does not try to "break the bank" and he works hard; it shows in the final paper and the grade. He is simply,THE BEST HERE!!
Customer 452995, November 16th, 2021
Business Studies
Thank you so much! I had to take my dog to the ER and had no time for the assignment. I really appreciate your help! I can't thank you enough! I really appreciate the work and integrity put into it. Thank you for taking it seriously and not bullshiting the paper.
Customer 452815, July 26th, 2021
Classic English Literature
It was my first time using such a service. Essay was good and nicely formatted.
Customer 452441, February 16th, 2022
Paper much better compared to the one prior revision request. References need to be no more than the past 5 years.
Customer 452547, July 20th, 2021
Very fast response and did a excellent job.
Customer 453201, May 31st, 2022
Human Resources Management (HRM)
On time and as always a great service! This semester has been very time consuming a tough for my family so this service has not only been a life saver but helped me keep up my grades! If you are in a time crunch or need help, don't hesitate! They are worth it!
Customer 453077, April 4th, 2022
Business and administrative studies
excellent work
Customer 453201, November 1st, 2022
Health Care
awesome work
Customer 452777, October 14th, 2021
Customer reviews in total
Current satisfaction rate
3 pages
Average paper length
Customers referred by a friend
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat
Live ChatWhatsApp