Python1 Min Read LetuscrackonJune 9, 2024 Distinct Elements Count Two integer arrays of length L1 and L2 are passed as input. The program must print the sum of the distinct elements present in both the…
Python1 Min Read LetuscrackonJune 9, 2024 Count of Common Characters in the Strings Two string values S1 and S2 are passed as input. The program must print the count of common characters in the strings S1 and S2. Input Format:…
Java Python1 Min Read LetuscrackonJune 9, 2024 Count the primes in a range Two whole numbers N1 and N2 are passed as input. The program must print the number of primes present between N1 and N2 (the range is inclusive…
Python1 Min Read LetuscrackonJune 8, 2024 Count Words Write an algorithm and write the Python code to count the number of unique words in a given passage. The paragraph may contain words with…
C Python1 Min Read LetuscrackonJune 8, 2024 Sort Numbers – Factor Count The program must accept N positive integers as the input and sort them based on the factor count (lowest to highest factor count). If two…
Python1 Min Read LetuscrackonJune 8, 2024 Family – Count Descendants The program must accept the first and last names of N persons in a family. The last name of each person indicates the name of his/her father.…
C Python2 Min Read LetuscrackonJune 8, 2024 Robot No Movement Count As a final year project certain students in a college have designed a Robot which can move front, back, left or right in a given rectangular…
C1 Min Read LetuscrackonJune 8, 2024 Train Journey – Initial Boarding Count In a train journey, there are N stations between station A and B (The train starts from station A). The number of passengers who alighted in…
C1 Min Read LetuscrackonJune 8, 2024 Flip Count – Matrix The program must accept a matrix of size NxN as the input. The matrix contains only 0’s and 1’s. The program must transpose the…
Python1 Min Read LetuscrackonJune 7, 2024 Count – Most Repeated Character The program must accept a string S containing only alphanumeric characters as the input. The program must print the number of occurrences of…