Java1 Min Read LetuscrackonJune 12, 2024 JAVA Constructor and Methods – Base Conversion The main method in Hello.java is as shown below. Define the class BaseConverter.java by filling in the code so that the…
C Java JavaScript Python4 Min Read LetuscrackonJune 12, 2024 Peanut Packing A man is running a super market and he observes the pattern of customer buying peanuts in packs of 1 kg, 2 kgs, 3 kgs till N kgs. So based on…
C Java1 Min Read LetuscrackonJune 12, 2024 Pattern Printing N – Sequence 001 The program must accept an integer N and print the pattern as shown in the Example Input/Output. Input Format: The first…
C Java JavaScript Python3 Min Read LetuscrackonJune 11, 2024 Distinct Length Pairs The program must accept M integers and N integers as the input. The program must form pairs of integers by selecting one integer from M…
C Java JavaScript Python4 Min Read LetuscrackonJune 11, 2024 Digital 7-Shaped String Given an input String S, accept the input string S and print the string as shown in the Example Input/ Outputsection. Input Format:The…
C Java JavaScript Python5 Min Read LetuscrackonJune 11, 2024 Unique String Representations Given a string S print the number of unique string values that can be formed by rearranging the letters in the string S. Boundary Condition:2…
Java Python1 Min Read LetuscrackonJune 11, 2024 String Characters Interlace Given an input string S, accept the input string S and print the string in the interlaced order as shown in the example…
C Java Python1 Min Read LetuscrackonJune 11, 2024 Travelling PNR List A mini bus having S seats can be overbooked during festival times. Out of N bookings made C bookings can be cancelled. Hence the final…
C Java JavaScript Python5 Min Read LetuscrackonJune 11, 2024 Tennis Contest A Tennis contest was scheduled in a college. N number of players registered to participate in this contest. (A player is the winner if he…
C Java JavaScript Python6 Min Read LetuscrackonJune 11, 2024 Print February Calendar A specific year Y and the starting day of the year D is given as input. Print the February month calendar for that specific year as shown in…