question : A programmer wants to test whether or not n given conditions are all simultaneously true (e.g he may want to test whether both x>0 and y<z^2 ) but it is not clear which condition should be tested first. suppose that it costs ti units to check condition i and that the condition will be true with probability pi , independent of the outcomes of all other conditions. In which order he should make the test. [solve using dynamic programming]
please help me jst give me logic please guys.. i am new to this.. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.