Selected Setfon implementation -50 marts
Candles
You are given N candles and the length of each candle is stored in an array A. The candles will form a
triplet if Ali] > Al] > Ak] and i gick
Display the total count of the number of candle triplets.
Function Description
Complete the candle Triplets function in the editor below. It has the following parameter(s):
Name
Type
Description
INTEGER
total number of candles
Parameters
A
INTEGER ARRAY
contains the length of candles
Return
The function must return an INTEGER denoting the count of the numbe
of candle triplets..
Answers
Answered by
0
Answer:
I don't know if you know then pls send me now
Similar questions