← All problemsSign in

Triangle Perimeter

Neha is a competitive programmer studied at Indore Institute of Science and Technology. Her senior , Mr. Anurag Mishra give her task to find the max perimeter of triangle from the given array of side length. Today, She is quite busy so help her to find the max perimeter of the triangle. you are given the integer $N$ and an array $A$ of size $N$ where $A[i]$ denotes the length of sides. ### Input

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start