Download Problem Solving Techniques in Computer Science and more Study notes Computer Science in PDF only on Docsity!
More Problems to Discuss
(^) Write a program to subtract a vector from another. You are given a program to add two vectors as sample
(^) Persons X and Y can sort a list of numbers. But they have a limitation that they can only sort 100 numbers at a time. Person Z, can combne two sorted list (i.e.) Given two sorted list of numbers L1 and L2, Z can form a bigger list L with elements in L1 and L2 in sorted order. In this scenario how will you sort a list of 200 elements
(^) Divide and conquer
(^) Backtracking
(^) Down, forward, forward
(^) Will lead to dead end and rat has to backtrack
(^) Given a set โsโ and a number โnโ, determine all subsets of set of โsโ such that the sum of the elements in the subset is equal to n.