Help me out with this question

Revision en1, by nikhil_vaibhav_17, 2021-08-07 08:07:34

Hello Everyone,

I have been stuck at a question for quite some time. I came up with an approach but that's not working for me. Maybe the idea can be correct and implementation can be wrong. So I need some help with an approach. I will add necessary piece of code for showing my approach.

The question is exactly the same and has no typing errors.

Question
My Approach
Main computation part

I just want to know what can be a good approach for this and I will try to implement this on my own.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English nikhil_vaibhav_17 2021-08-07 08:07:34 3647 Initial revision (published)