Bro each point location is 15 km..first 5 km taxi charge 100 then every single km charges 10rs. Location A to C total distance 30km= 100+250=350 only bro. How to 1st taxi get 400 earnings pls explain bro?
@CodingAtti10 ай бұрын
That was a mistake bro. Great Observation!
@CodingAtti10 ай бұрын
Updated the code in Github. Link in description
@thirumoorthymuniraj15218 ай бұрын
@@CodingAtti Looking nice
@realprince866917 күн бұрын
Your wrong. Actually its 400 only . I will explain A to c total distance 30kms i .e Starts from A to B (15) and then B to c(15) so total 30kms. First 5 kms only 100 and then 10/km. So A to B = 100 + 100 = 200 ( 5 + 10km = 15kms). Similarly B to c 200. So totally 400
@rkt_78 күн бұрын
@@realprince8669 no,the logic will be (100+(drop-pickup-5)*10 , here the 100 is common charge for 5km and (drop-pickup-5) is the additional charge distance ,so from A-C 100+(30-0-5)*10 => 350
@kumar-bi2ef10 ай бұрын
Put more zoho interview questions like this. I am watching all your vedios. I will always support you... You will reach more subscribers soon...
@CodingAtti10 ай бұрын
Sure bro. Thanks❤️
@pavithpriyadarshan901010 ай бұрын
Very good explanation brother! Expecting more videos like these in future :)
@CodingAtti10 ай бұрын
Sure bro thanks❤️
@Sujith_sundar10 ай бұрын
Bro ithe mari neraiaya application based video podunga bro
@CodingAtti10 ай бұрын
Sure bro
@CodingAtti10 ай бұрын
Sure bro
@nativelearning8 ай бұрын
Good initiative runs with worst time complexity & design. Solution can be improvised. Key problem I observed from question is 1. Taxi should be available state and from nearest point. 2. If there are 2 taxi at same point then based on least money earned taxi should be allocated. As number off locations are fixed I would prefer holding 6 min heap with all available taxies, comparator should be based on money earned in each min heap. At every destination taxi will be added to heap. Other way could be using segment trees in case destinations are large in number rather 6.
@CodingAtti8 ай бұрын
Got it bro. Thanks for the suggestion 👍
@Freaky_prince_177 ай бұрын
Usefull video anna thank you 😊 we are expected much more video like this from you
@CodingAtti7 ай бұрын
Sure bro👍
@MywholelifewasaLIE9 ай бұрын
Great explanation bro
@CodingAtti9 ай бұрын
Glad you liked it
@k.v.dhanush346510 ай бұрын
Bro ithae Mari console based application videos neeraya potu oru playlist um create panitungaa bro this is so helpful and useful for us brother. Thank u so much
@CodingAtti10 ай бұрын
Sure bro will do it soon. Thank you❤️
@mathiyazhaganakhil17528 ай бұрын
super bro first time watching your channel awesome❤
@CodingAtti8 ай бұрын
Thank you
@JoshTonyKlementJ7 ай бұрын
Thank You For the Video Bro
@CodingAtti7 ай бұрын
Glad it helps❤️
@gayathrigayathri832310 ай бұрын
I need more related to zoho
@CodingAtti10 ай бұрын
Yes sure
@tamilsethu70578 ай бұрын
Thank you very useful video
@CodingAtti8 ай бұрын
Glad it helps
@luffyzorosanjikidlawacesabo8 ай бұрын
im 1000 th subscriber
@CodingAtti8 ай бұрын
Thanks bro❤️
@akashsriramganapathy8 ай бұрын
nalla iruku bro content
@CodingAtti8 ай бұрын
Thanks bro
@RamMuthuKumar5 ай бұрын
Keep doing brother.
@CodingAtti5 ай бұрын
Thanks bro🤝
@bhubeshsr62817 ай бұрын
2000 th Subscriber
@CodingAtti7 ай бұрын
❤️🔥
@r_mani418 ай бұрын
Correct me if Im wrong, bro anga innoru constraint irunthuthu minimum earnings pana taxi allocate pananum nu question la.. so nearest distance + minimum earnings nu rendu condition varum to find the taxi and allocate
@CodingAtti8 ай бұрын
Yes bro it is updated already in github code. Link in description
@oviyam13853 ай бұрын
Well explained
@CodingAtti3 ай бұрын
Thanks❤️
@JRECLIPS297 ай бұрын
bro i subbed ur channel and one doubt what is the best programming language to learn bro
@CodingAtti7 ай бұрын
Depends bro. I'll suggest to learn Java. In India, it has more opportunities. And also if you learn java, other languages will be easy to learn since java has verbose syntax.
@dethia122010 ай бұрын
In System Design in any Organization , Will they ask to do it Only in Java Code or we can Use Frame Work ?
@CodingAtti10 ай бұрын
They won't allow frameworks bro as far as i know.
@vinothkumarv97228 ай бұрын
hello bro where is OUTPUT ... WHERE IS UI???? GIVE PROPER DETAILS MAN .. IYOOO
@CodingAtti8 ай бұрын
05:42 Here is the output bro. I focused only on underlying logic bro so no UI.
@chandarroys443310 ай бұрын
Taxi or train booking, type of questions asking for experienced candidates???
@CodingAtti10 ай бұрын
Yes
@saravna8 ай бұрын
Bro, first 4 bookings ku new taxi assign panradhu thapu bro. Pickup location vechu dha determine pananu. previous customer oda drop location la irundhu next customer book panna same taxi dha assign pananu not a new taxi. Is this scenario handled?
@CodingAtti8 ай бұрын
Yes bro first 4 times matum new taxis. After that reused same taxis.
@saravna8 ай бұрын
@@CodingAtti first 4 times um pickup location vechu endha taxi free and nearby nu dhana bro check pananu. instead of assigning new taxi rightaway
@CodingAtti8 ай бұрын
Yes bro. Actually it creates 4 taxis bro but still inside for loop it check for the criterias that you mentioned and assigns either new taxi or already created taxi. So it reuses the taxis bro
@unconditionalfashions02309 ай бұрын
Loop la iruka if la 2nd condition purila bro pls explain
@CodingAtti9 ай бұрын
We are checking the nearest taxi from customer's pickup location
@junaideensiyan18 ай бұрын
Reload application
@CodingAtti8 ай бұрын
It is a console level application bro. If reloaded every data will be lost.
@NoName-rz6gj6 ай бұрын
Bro is this level of programming knowledge required for fresher in campus recruitment ?
@CodingAtti6 ай бұрын
No bro. Nowadays they are asking qstns related to recursion, backtracking and dp. For example snake game and maze runner in console.
@RamMuthuKumar5 ай бұрын
@@CodingAtti I am good in oops concepts, means I can understand this without anyone explanation and i have some practical implementation exp also. But I am not good in recursion , backtracking or dp, what if they ask qn based on data structures in round 3 😢
@Ram-ly6hb5 ай бұрын
Neraya qns Practice pannrathu ethachum site iruntha sollunga or docs iruntha share pannunga
@CodingAtti5 ай бұрын
Kedacha video podren bro
@mohamedakram91027 ай бұрын
Indha problem solve panna evlo time kudupanga interview la?
@CodingAtti7 ай бұрын
Average ah 3 hrs bro
@CodingAtti7 ай бұрын
But sometimes they will say to add features which may take more time than this. They will give enough time
@raghul68847 ай бұрын
bro python la code panalama??...or is only cpp or java accepted
@CodingAtti7 ай бұрын
Zoho la python most ah accept panamatanga bro
@bhuvanasri192410 ай бұрын
Bro idhey madhiri C++ la yum video podunga
@CodingAtti10 ай бұрын
Im not familiar with c++. Will try. You can use java to c++ converters available in web
@CodingAtti10 ай бұрын
But i suggest you to convert this java code to c++ by yourself.
@bhuvanasri192410 ай бұрын
@@CodingAtti okay bro thank u for your reply
@GodMahavishnu9 ай бұрын
❤
@kajaykajay19710 ай бұрын
🙌👍
@robertantony48777 ай бұрын
bro sorry to tell this is really hard for some beginners to understand, you have used a lot of concepts which is not known by everyone properly, your thumbnail just tell code in 50 lines, it good you have created that in 50 lines but you should have mention as advance, so my friends got disappointer by this, they lost hope on learning this concept
@CodingAtti7 ай бұрын
Bro all advanced concepts rely on basic concepts. If you don't understand this, remember you are just few step behind.
@robertantony48777 ай бұрын
@@CodingAtti hey bro thanks for responding soon..! is there any way that we can talk rather than this comment box?
@CodingAtti7 ай бұрын
Sure. Check description for my linkedin id
@lavanyaponnambalam86658 ай бұрын
Bro which code is this? Java ,python or c++
@CodingAtti8 ай бұрын
Java
@sriharviruma_m5 ай бұрын
Database use pani intha question work panlam ah interview la ?
@CodingAtti5 ай бұрын
No bro. They will ask for console level only
@sriharviruma_m5 ай бұрын
@@CodingAtti Round 3 Ella questions uhm eh apdi thana bro
@CodingAtti5 ай бұрын
Yes
@Gogul-x6k10 ай бұрын
Bro java or python which is best
@CodingAtti10 ай бұрын
That is a personal preference bro. I prefer java. Both are best. But still in India, Java has more opportunities than Python
@kishorekumar57478 ай бұрын
@@CodingAtti Then abroad like the US...... Which has more opportunities Java or Python ?
@CodingAtti8 ай бұрын
Outside India, python has significant opportunities. Both java and python have similar number of opportunities in abroad.