I am not getting this challenge. can you please help me with code?

i have go through from this challenge many times but i am not able to crack the logic for this challenge so please help me to solve this challenge with the code…

@Anku47 have you seen the prateeks sir editorial for this question?

@Anku47 check if this helps you: Assume rickshaw is R and cabs is C
So 1st statement means
It will cost c1 rupoes to either use R or C once

2nd statement means
Unlimited rides ticket on R or C =c2 , that after paying c2 u can use either R or C unlimited times for some particular vehicle (say u paid c2 for DL …0037 so u can take multiple rides of that car)

3rd statement means
Unlimited rides ticket on R or C =c3 ,that after paying c3 u can use either R or C any vehicle unlimited times

4th statement means
U can use both R & C all vehicles

Example
If say options for R are a,b and C are x,y

Then 1) use a once or b once or x once or y once
2) use a unlimited times or b unlimited times or x unlimited times or y unlimited times
3) use both a,b unlimited times ot use both x,y unlimited times
4) use a,b,x,y unlimited times

no sir. can you please let me know the tutorial you are talking about?

@Anku47 i am talking about this:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.