সাম্প্রতিক পোস্ট

Non- Degenerate Triangle CP

Non- Degenerate Triangle

For any a,b,c -- বড় সাইড টা, অন্য দুই বাহু থেকে যোগ থেকে ছোট হবে। If a greater of them, a < b+c worst case 1st,2nd and last one . if we replace with other to fix, entire array will be valid WE have find largest valid sub-arra…

Medians CP

Medians

1,2,3 each individual sub array whoose median will its own, 1 2 3 right side have to make 3 sub- array(5,6,[7,8,9])=5 6 8 then Medians of median of each subaaray will be k=4, k can be different element except 1st and last one ,…