### Dynamic Programming Interview Questions

No. 03 - Maximum Sum of All Sub-arrays
A sub-array has one number of some continuous numbers. Given an integer array with positive numbers and negative numbers, get the maximum sum of all sub-arrays. Time complexity should be O(n).
For example, in the array {1, -2, 3, 10, -4, 7, 2, -5}, its sub-array {3, 10, -4, 7, 2} has the maximum sum 18.

Given an unsorted array, find the max length of subsequence in which the numbers are in incremental order.

For example: If the input array is {7, 2, 3, 1, 5, 8, 9, 6}, a subsequence with the most numbers in incremental order is {2, 3, 5, 8, 9} and the expected output is 5.

Implement a function which gets the edit distance of two input strings. There are three types of edit operations: insertion, deletion and substitution. Edit distance is the minimal number of edit operations to modify a string from one to the other.

Please implement a function which gets the minimal number of coins, whose value is v1, v2, …, vn, to make change for an amount of money with value t. Any coin with value vi may duplicate for any times to make change.
For example, the minimal number of coins to make change for 15 out of a set of coins with value 1, 3, 9, 10 is 3. We can choose two coins with value 3 and a coin with value 9. The number of coins for other choices should be greater than 3.

There are n houses built in a line, each of which contains some value in it. A thief is going to steal the maximal value in these houses, but he cannot steal in two adjacent houses because the owner of a stolen house will tell his two neighbors on the left and right side. What is the maximal stolen value?

No. 49 - Longest Substring without Duplication
Given a string, please get the length of the longest substring which does not have duplicated characters. Supposing all characters in the string are in the range from ‘a’ to ‘z’.

No. 52 - Maximal Product when Cutting Rope
Given a rope with length n, how to cut the rope into m parts with length n[0], n[1], ...,n[m-1], in order to get the maximal product of n[0]*n[1]* ... *n[m-1]? We have to cut once at least. Additionally, the length of the whole length of the rope, as well as the length of each part, are in integer value.

A board has n*m cells, and there is a gift with some value (value is greater than 0) in every cell. You can get gifts starting from the top-left cell, and move right or down in each step, and finally reach the cell at the bottom-right cell. What’s the maximal value of gifts you can get from the board?

1. Check this link also they are also having some amazing interview questions
c# interview questions @ http://skillgun.com

1. Tks very much for your post.

Avoid surprises — interviews need preparation. Some questions come up time and time again — usually about you, your experience and the job itself. We've gathered together the most common questions so you can get your preparation off to a flying start.

You also find all interview questions at link at the end of this post.

Best rgs

2. Very much useful article. Kindly keep blogging

Java Training in Chennai

Java Online Training India

2. This comment has been removed by the author.

3. Hello Harry,

These are some very good list of dynamic problems that one might encounter during interview.

We have a startup which helps the developers to find the job they are most suited for. Our goal is to help candidate skip the phone screening process by solving coding challenges through our platform.

Would love to hear your thoughts on what we do.

Thanks for taking a look!
http://www.edrepublic.com

1. terribly sorry, wanted to link the url
http://www.edrepublic.com

4. Nice Website...
its may be very beneficial for you also really

5. Tks very much for your post.

Avoid surprises — interviews need preparation. Some questions come up time and time again — usually about you, your experience and the job itself. We've gathered together the most common questions so you can get your preparation off to a flying start.

You also find all interview questions at link at the end of this post.

Best rgs

1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru ASP.NET Essential Training Online . Nowadays Dot Net has tons of job opportunities on various vertical industry.

6. Center for Career Advice. Provides a positive Career Help for Career builder and encouraging website for anyone to gather the necessary tools for landing a dream job. Articles, interview help, and feedback provided for free.

7. This blog awesome and i learn a lot about programming from here.The best thing about this blog is that you doing from beginning to experts level.

Love from Pprogramming

8. c code examples will help c beginners

9. This is a great article, I have been always to read something with specific tips! I will have to work on the time for scheduling my learning.
Manpower Consultancy in Bangalore
Staffing Companies in Chennai

10. This is extremely helpful info!! Very good work. It is very interesting to learn and easy to understood. Thank you for giving information. Please let us know and more information get post to link.

Digital Marketing Company in Chennai

11. After coming across blogs about programming, I get motivated to get what the details in the blog entails. This blog is very useful for the readers who want to develop their careers in coding. The illustrations and the examples on the codes which the blogger has provided will assist many people. PhD Dissertation Lit Review Paraphrasing Help

12. Thank you for explaining digital marketing interview question and answers in detail. Now I have a much better idea about the digital marketing.hunt your dream digital marketing jobs in hyderabad .

13. This comment has been removed by the author.

14. It seems you are so busy in last month. The detail you shared about your work and it is really impressive that's why i am waiting for your post because i get the new ideas over here and you really write so well.

Selenium training in Chennai
Selenium training in Bangalore
Selenium training in Pune
Selenium Online training
Selenium training in bangalore

15. Truly a very good article on how to handle the future technology. After reading your post,thanks for taking the time to discuss this, I feel happy about and I love learning more about this topic.
- Mumbai Web, Crocus Web

16. The article is so informative. This is more helpful for our
software testing training in chennai
selenium online training Thanks for sharing

17. thanks for your details it's very useful and amazing.your article is very nice and excellentweb design company in velachery

18. Nice article.

For Python training in Bangalore, visit:
Python training in bangalore

19. nice article...keep updating like this.. web design company in velachery

20. For Data Science training in Bangalore, Visit:
Data Science training in Bangalore

21. For AWS training in Bangalore, Visit:
AWS training in Bangalore

22. Visit for the best AI training in Bangalore:- Artificial Intelligence training in Bangalore

23. It has been great for me to read such great information about datascience with python.datascience with python training in bangalore

24. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.DataScience with Python Training in Bangalore

25. Your articles really impressed for me,because of all information so nice.robotic process automation (rpa) training in bangalore

26. Linking is very useful thing.you have really helped lots of people who visit blog and provide them use full information.Automation Anywhere Training in Bangalore

27. Being new to the blogging world I feel like there is still so much to learn. Your tips helped to clarify a few things for me as well as giving.uipath training in bangalore

28. Really it was an awesome article,very interesting to read.You have provided an nice article,Thanks for sharing.blue prism training in bangalore

29. This is really an awesome post, thanks for it. Keep adding more information to this.openspan training in bangalore

30. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
best microservices online training

31. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.dot net training in bangalore

Become an Expert In DBA Training in Bangalore! The most trusted and trending Programming Language. Learn from experienced Trainers and get the knowledge to crack a coding interview, @Bangalore Training Academy Located in BTM Layout.

33. I read this post your post so nice and very informative post thanks for sharing this post.

Real Time Experts Training Center is one of the Best SAP PP Training Institutes in Bangalore with 100% placement support. SAP Production Planning training in Bangalore provided by sap pp certified experts and real-time working professionals with handful years of experience in real time sap pp projects.

34. I am happy for sharing on this blog its awesome blog I really impressed. thanks for sharing. Great efforts.

Looking for Salesforce CRM Training in Bangalore, learn from eTechno Soft Solutions Salesforce CRM Training on online training and classroom training. Join today!

35. such a great word which you use in your article and article is amazing knowledge. thank you for sharing it.

Become an Expert In Python Training in Bangalore ! The most trusted and trending Programming Language. Learn from experienced Trainers and get the knowledge to crack a coding interview, @Softgen Infotech Located in BTM Layout.

36. APTRON Gurgaon's Data Science course agenda has been meticulously designed with R Programming, Python , Machine Learning, Forecasting and Tableau addressing the complete Data life cycle.

37. i have been following this website blog for the past month. i really found this website was helped me a lot and every thing which was shared here was so informative and useful. again once i appreciate their effort they are making and keep going on.

Digital Marketing Consultant

38. Attend The Artificial Intelligence course From ExcelR. Practical Artificial Intelligence course Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Artificial Intelligence course.
Artificial Intelligence course

39. Study ExcelR Data Analytics Course in Bangalore where you get a great experience and better knowledge.

Data Analytics Course in Bangalore

40. Nice post! Thanks for sharing this information. Looking for help with your chapter 4 data analysis and findings? Get online qualitative and quantitative data analysis services from the leading Research Projects Writing Company at an affordable cost. Our experts are available 24/7.

41. This is most informative and also this post most user friendly and super navigation to all posts. Thank you so much for giving this information to me. Artificial Intelligence training in Chennai.
Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

42. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.<a href="https://www.excelr.com/business-analytics-training-in-pune/”> Courses in Business Analytics</a>

43. You should be a part of a contest for one of the highest quality sites on the net. I’m going to highly recommend this blog! The training and certification courses to get trained on microtek training. I got really cleared my doubts by reading your informative information.

Well i also founded something interesting over here in microtek training solutions

44. You prominent the function of huge information in computerized promoting. Much appreciated! branding companies in chennai