give array integer arr integer b c you need find number good tripletsA triplet arri arrj arrk good follow condition true0 j k arrlengtharri arrj aarrj arrk barri arrk cWhere x denote absolute value xReturn number good triplet Example 1input arr 301197 7 b 2 c 3output 4explanation there 4 good triplet 301 301 311 011example 2input arr 11223 0 b 0 c 1output 0explanation no triplet satisfie condition Constraints3 arrlength 1000 arri 10000 b c 1000