Java1 Min Read LetuscrackonJune 11, 2024 JAVA – File Handling – Count 1s An array of N integers is given in a file. The program must print the number of 1s in the input. The name of the file is stored in the…
Java1 Min Read LetuscrackonJune 11, 2024 Alternate Sorting – Max Min Given an array of N integers, rearrange the array in such a way that the first element is first maximum, second element is first minimum,…
Java1 Min Read LetuscrackonJune 11, 2024 Expand alphabets occurrence A string consisting of short hand form of occurrence of alphabets will be passed as input. The program must expand the code and print the…
Java1 Min Read LetuscrackonJune 11, 2024 JAVA – Exception – Divider The class Divider.java is given below. Please fill in the missing lines of code for the main method class Hello.java so…
C Java Python5 Min Read LetuscrackonJune 11, 2024 Value Equals Previous Two An array of N integers is passed as the input. The program must find the combination of integers forming a sequence whose length is more than…
Java1 Min Read LetuscrackonJune 11, 2024 JAVA – Method Overriding and Super Keyword – Game The main method class Hello.java is given below. Please write the code for the…
Java1 Min Read LetuscrackonJune 11, 2024 Longest No Repeat Sub-String Given a string S, the program must print the substring based on following conditions. -The substring must be the longest one of all the…
Dynamic Programming Java1 Min Read LetuscrackonJune 11, 2024 Selling Wine Bottles There are N wine bottles packed and arranged in a row from left to right. The wine bottles can be sold only one per year with a…
Java1 Min Read LetuscrackonJune 11, 2024 JAVA – MultiThreading – Printer The class Hello.java is given below. Please write the code for the class Printer.java so that the program prints 1 for N…
Java1 Min Read LetuscrackonJune 11, 2024 JAVA – Package – EvenPrinter The class Hello.java is given below. Please write the code for the class EvenPrinter.java so that the program prints the output as mentioned…