C Java Python3 Min Read LetuscrackonJune 12, 2024 Append Alphabet – Surrounding Integers The program must accept a matrix of size R*C containing integers and alphabets as the input. For each occurrence of the alphabet in…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Swap – Multiples of X and Y The program must accept N integers and two integers X and Y as the input. The program must swap the first occurring multiple of X and the last…
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…