Number of subarrays consisting only of Pronic Numbers

Given an array arr[] consisting of N positive integers, the task is to count the number of subarrays consisting only of pronic numbers. Examples: Input:… Read More The post Number of subarrays consisting only of Pronic Numbers appeared first on GeeksforGeeks. Given an array arr[] consisting of N positive integers, … Continue reading Number of subarrays consisting only of Pronic Numbers