Creator of DiceDB, ex-Google Dataproc, ex-Amazon Fast Data, ex-Director of Engg. SRE and Data Engineering at Unacademy. I spark engineering curiosity through my no-fluff engineering videos on YouTube and my courses
AsliVideo is revolutionizing their video streaming platform! They’ve developed N
different compression algorithms
and tested them on M
different types of video content. For each video type, they know:
The engineering team needs to determine each algorithm’s individual contribution to the compression score.
N
space-separated floating-point numbers — the individual contribution of each algorithm to the compression scoreInput:
3 3
2 1 3 95
1 3 1 82
3 2 1 75
Output:
5.58823529 18.17647059 21.88235294
Input:
3 3
2 1 0 95
1 3 0 82
3 2 0 75
Output:
observation error
Solution of the question will be uploaded on coming Wednesday.
Arpit's Newsletter read by 100,000 engineers
Weekly essays on real-world system design, distributed systems, or a deep dive into some super-clever algorithm.