Python1 Min Read LetuscrackonOctober 2, 2025 Add Numbers – Base N Two numbers X and Y are provided with reference to base N. Add the numbers and print their sum with reference to base 10. Input Format: First…
Python1 Min Read LetuscrackonFebruary 28, 2025 ZigZag Pattern – Start with Base Program in Python ZigZag Pattern – Start with Base: Two positive integer values X and Y are passed as input to the program. The program must print the…
Python1 Min Read LetuscrackonFebruary 20, 2025 Water Image Pattern with Base Water Image Pattern with Base: The program must accept two integers N and M as the input. The program must print the…
C Python TCS CodeVita3 Min Read LetuscrackonFebruary 6, 2025 Iterate Base – TCS CodeVita Iterate Base – TCS CodeVita: The program must accept a number N in any base from 2 to 36. We can identify the base that would…
C TCS CodeVita2 Min Read LetuscrackonDecember 2, 2024 Count of Inversions – Base 6 – TCS CodeVita Given a sequence of distinct numbers a1, a2, …. an, an inversion occurs if there are indices i < j such…
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…