C2 Min Read LetuscrackonApril 4, 2025 Inviting Customer Count Inviting Customer Count: A company plans a viral marketing strategy in which an existing customer will invite N other new customers every day…
Java Python1 Min Read LetuscrackonMarch 25, 2025 Peak Elements Count Peak Elements Count: N integers are passed as input. The program must print the count of peak elements among the N integers. An element is a…
Cognizant1 Min Read LetuscrackonFebruary 27, 2025 Factor Count – CTS PATTERN Factor Count: Code Approach: For this question, you will need to implement the logic for the program. The function int getFactorCount(int num)…
Java Wipro2 Min Read LetuscrackonFebruary 21, 2025 Integers – Maximum and Count N integers are passed as the input. The program must repeat the steps given below. Step 1: Find the maximum M of the…
C Dynamic Programming1 Min Read LetuscrackonFebruary 8, 2025 No Consecutive Digit Substring Count No Consecutive Digit Substring Count: Orlando wants to print the count of substrings in a digit string value S (which contains only digits 0…
Python2 Min Read LetuscrackonJanuary 29, 2025 Sort Rows by Prime, Even and Odd count Sort Rows by Prime, Even and Odd count: An integer matrix of size R*C is given as input. The program must sort the rows based on the number…
Java1 Min Read LetuscrackonJanuary 26, 2025 BST – Leaf Node Count BST – Leaf Node Count: An array of N positive integers is passed as input. The program must form a binary search tree with these…
Python1 Min Read LetuscrackonJanuary 26, 2025 Longest Substring with a and b count Longest Substring with a and b count: A string S containing only the characters a and b is passed as the input. The program must print…
Python1 Min Read LetuscrackonJanuary 12, 2025 Count of Power of X Count of Power of X: N positive values v(i) where i = 1 to N are passed as input to the program. The program must print the count C of the…
Python1 Min Read LetuscrackonJanuary 6, 2025 String Alphabet Count String Alphabet Count: Given a string S with only alphabets, print the alphabet and it’s count as shown in the Example Input/Output…