C1 Min Read LetuscrackonFebruary 20, 2025 String – Alphabets Frequency Given a string S as the input, print the count of distinct alphabets in S followed by their frequency of occurrence. The upper case alphabets…
Python1 Min Read LetuscrackonDecember 6, 2024 Python Program To Print Number Frequency An array of N integers is passed as the input to the program. The program must modify the array such that each element in the array is…
Python1 Min Read LetuscrackonNovember 22, 2024 Frequency Sort – Numbers Given N integers, sort them based on their frequency in descending order. If the frequency is same then sort based on their values in…
Python1 Min Read LetuscrackonJune 13, 2024 Array Frequency Equals Value The program must accept N integer values and print the values which are equal to the count of their occurrence (in ascending order). If there…
C1 Min Read LetuscrackonJune 12, 2024 String Letters Frequency A string value S containing N unique letters is passed as the input. The program must print the letters in the string based on the count of…
Python1 Min Read LetuscrackonJune 11, 2024 Order digits based on the frequency A string consists of digits from 1-9 will be passed as input. The program must print the digits sorted based on the number of occurrence. If…
Python1 Min Read LetuscrackonJune 10, 2024 Print Numbers – Frequency Based An array of N positive integers is passed as input. The program must print the numbers in the array based on the frequency of their…
Python1 Min Read LetuscrackonJune 7, 2024 Expand String based on Frequency In a string compression technique, a string can be compressed based on the following condition.– If a character occurs…