Java1 Min Read LetuscrackonFebruary 19, 2025 JAVA – File Handling – Largest Integer Java Program to find the largest integer using file Handling Java File Handling: An array of N integers is read from a file. The file name is…
Java1 Min Read LetuscrackonFebruary 13, 2025 Smallest Substring Program in Java The program must accept a string S as the input. The program must print the smallest substring containing all the distinct…
C Java Python1 Min Read LetuscrackonJanuary 28, 2025 Half Pyramid Pattern Printing Half Pyramid Pattern Printing: The program must accept an integer N as the input. The program must print the desired pattern as shown in the…
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…
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…