Math, asked by arunbalaji2420, 2 months ago

Problem Description - 212
You are given N candles and the length of each candle is stored in an array A. The candles will form a triplet if Al > A[] > A[K] and i g <k
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
N
INTEGER
Parameters
total number of candles
A
INTEGER ARRAY
contains the length of candles
Return
The function must return an INTEGER denoting the count of the number of candle triplets..
Constraints
• 1 SNS 10^5
• 1 s A[i] s 10^5​

Answers

Answered by siddhu3882
0

Answer:

JK NADDU

Step-by-step explanation:

TARAK MEHTA KA ULTA CHASMA

Similar questions