C Java Python1 Min Read LetuscrackonJune 12, 2024 Bits Count – Y to X The program must accept two integers X and Y where X is always greater than or equal to Y. The program must print the count of bits C that…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Integer Pattern Printing – CTS PATTERN You are required to complete the given code by reusing existing functions. You can click on Run button anytime to check the…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Common Characters – Same Position The program must accept N string values are of equal length as the input. The program must print the common characters at the same position in…
C1 Min Read LetuscrackonJune 12, 2024 Pattern Printing – Diamond Numbers Given an integer N as the input, print the pattern as given in the Example Input/Output section. Input Format: The first line contains N.…
C1 Min Read LetuscrackonJune 12, 2024 C – Type of triangle The length of three sides of triangle A,B,C will be passed as input. The program must print the type of the triangle. Input Format:First line…
Cognizant1 Min Read LetuscrackonJune 12, 2024 Function flipCount – CTS PATTERN You are required to fix all the logical errors in the given code. You can click on Run anytime to check the compilation/execution status of…
Python1 Min Read LetuscrackonJune 12, 2024 String – Repeating Alphabets Given a string S as the input, print the distinct alphabets in S that occur more than once. The alphabets must be printed based on the order…
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…
C1 Min Read LetuscrackonJune 12, 2024 C – Find the sum of the largest and smallest number in an Array. N numbers are passed as input to the program. The program must find the sum of the largest and smallest number in the Array. Input Format:The…
C1 Min Read LetuscrackonJune 12, 2024 C – Find the sum of odd digits in a given number. A number N is passed as input to the program. The program must find the sum of all odd digits present in the program and print the sum as the…