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…
Python1 Min Read LetuscrackonJune 11, 2024 Skip Lunch Count An employee if he had breakfast after 11:00 am on a given day, skips lunch on that specific day. So given the time of his breakfast…
Python1 Min Read LetuscrackonJune 11, 2024 Divisible Sum Pair Count N numbers (A0, A1, A2, …, AN-1) are passed as input to the program. A positive integer D is also passed as input to the program.The…
Python1 Min Read LetuscrackonJune 11, 2024 Digits Division Count A number N is passed as input to the program. The program must print the count of digits which divide the number N without leaving a…
Python1 Min Read LetuscrackonJune 11, 2024 All Digits – Pairs Count The program must accept N integers as the input. The program must print the number of pairs X where the concatenation of…