Skip to content

Tag Archives: counter

Given a string S representing the record of workers entering and leaving the rest area, where E represents entering and L represents leaving the rest… Read More
Given two binary strings str1 and str2 having same length, the task is to find if it is possible to make the two binary strings… Read More
Given an array arr[], the task is to find the count of array elements satisfying the following conditions: The array elements should be strictly greater… Read More
Given an array arr[] consisting of N positive integers and a positive integer K, the task is to find the count of array elements whose… Read More
Given an array arr[] of N integers, the task is to find the count of all subarrays from the given array of at least size… Read More
Given two numbers X and Y, the task is to find the count of integers K which satisfies the equation (X – 1) % K… Read More
Given a positive integer N, the task is to find the number of ordered pairs (X, Y) where both X and Y are positive integers,… Read More
counter is basically used to count the number of clock pulses applied to a flip-flop. It can also be used for Frequency divider, time measurement,… Read More
A Counter is a device which stores (and sometimes displays) the number of times a particular event or process has occurred, often in relationship to… Read More