Java Python1 Min Read LetuscrackonJanuary 20, 2025 Decreasing Sequence from N Decreasing Sequence from N: Two integers N and D are passed as input. The program must print the decreasing sequence from N to 1 with common…
C Java JavaScript Python5 Min Read LetuscrackonJanuary 5, 2025 Collect Max Points Collect Max Points: A kids game has a board with an M*N matrix having M rows and N columns containing non-negative integer values as cell…
Java1 Min Read LetuscrackonDecember 11, 2024 Maximum by Single Digit Replacement Maximum by Single Digit Replacement: Two integers M and N are passed as the input to the program. The program must print the maximum value of…
Java Python TCS CodeVita2 Min Read LetuscrackonDecember 7, 2024 Bottle Necks – TCS CodeVita The program must accept the radii of N bottles as the input. Once a bottle is enclosed inside another bottle, it ceases to be…
Java1 Min Read LetuscrackonNovember 15, 2024 Maximum Target Hits in Sequence In a shooting competition, whenever the target is hit, the score is increased by 1. When the target is missed the score is decreased by 1.…
Java1 Min Read LetuscrackonNovember 1, 2024 Move M Words – End Reverse The program must accept a string S which contains N words and move the first M words to the last in the reverse order. Input format:The first…
Java2 Min Read LetuscrackonNovember 1, 2024 Basket with Most Colors There are N trees in straight line. The trees have different colors of flowers. Each color is represented by an alphabet. N strings are passed…
Java Python1 Min Read LetuscrackonOctober 31, 2024 Vertical ZigZag Pattern Fill in the missing lines of code to print the pattern as defined in the Example Input/Output section. Input Format:The first line contains N.…
Java1 Min Read LetuscrackonOctober 30, 2024 Fraction Reduce Given a fraction A/B the program must reduce it and print the output. Input Format:The first line contains A/B Output Format:The first line…
Java Python ZOHO1 Min Read LetuscrackonJune 12, 2024 Array LEADERS [Zoho] An array of N numbers is passed as input. The program must print all the LEADERS in the array. A number is a LEADER if it…