Chef and Arrays
CodeChefOpen on judge ↗
Chef and Horsbug is busy during the summer, working together to build some ML Models. However, they got stuck in a very complicated problem and is trying to figure out the method. Chef has got two array (Lets suppose, we denote them as $A$ and $B$) of length $N$, containing single digit numbers only. Chef needs to combine the i-th element of array -$A$ and $B$ and find the greatest among the two
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start