Poor Pigs modification

Revision en1, by gurnam771, 2023-11-23 14:26:23

I was solving poor pigs problems and thought what could be the answer to min number of pigs if we can only feed pigs in continuous subarray l,l+1,l+2,....r like that

Q link for reference-https://leetcode.com/problems/poor-pigs/

Tags combinatorics

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English gurnam771 2023-11-23 14:26:23 257 Initial revision (published)