Give an algorithm for the following problem. Given a list of n distinct positive integers, partition the list into two sublists, each of size n/2, such that the difference between the sums of the integers in the two sublists is minimized. You may assume that n is a multiple of 2.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More AI Algorithms Interview Questions

Name search algorithm technology?

0 Answers  


What’s your favorite algorithm, & can you explain it into me in less than a minute?

0 Answers  


What is the depth-first search algorithm?

0 Answers  


Can you pick an algorithm. Write the psuedo-code for a parallel implementation?

0 Answers  


What is iterative deepening depth-first search algorithm?

0 Answers  






list the types of linked list with aid of diagram?

0 Answers  


What are the disadvantages of depth-first search algorithm?

0 Answers  


What is informed (heuristic) search strategies algorithm?

0 Answers  


List the different algorithm techniques in machine learning?

0 Answers  


Give an algorithm for the following problem. Given a list of n distinct positive integers, partition the list into two sublists, each of size n/2, such that the difference between the sums of the integers in the two sublists is minimized. You may assume that n is a multiple of 2.

0 Answers  


Write the Shortest path algorithm for a graph.

1 Answers   Tech Mahindra,


Which search algorithm will use a limited amount of memory in online search?

0 Answers  


Categories