C Python2 Min Read LetuscrackonJune 12, 2024 LRU Cache – Miss Count The least recently used (LRU) cache algorithm evicts the element from the cache that was least recently used when the cache is full. After an…
Python1 Min Read LetuscrackonJune 12, 2024 Consecutive Vowels Count Given a string S1, print the count C which represents the number of times a vowel is followed by another vowel in the string S1. Input…
Java1 Min Read LetuscrackonJune 12, 2024 JAVA – Static Members – Department Count The main method in Hello.java is as shown below. Define the class Student.java by filling in the code so that the program…
Java1 Min Read LetuscrackonJune 11, 2024 JAVA – File Handling – Count 1s An array of N integers is given in a file. The program must print the number of 1s in the input. The name of the file is stored in the…
C Java Python1 Min Read LetuscrackonJune 11, 2024 Print Odd Even Negative Integer Count Accept N integers and print the count of odd, even and negative integer count as the output. Input Format:The first line contains N.The second…
Java1 Min Read LetuscrackonJune 11, 2024 Count of common factors Given a set of numbers, the program must find the count of the common factors C excluding 1. Input Format:First line will contain the integer…