C ZOHO2 Min Read LetuscrackonJanuary 27, 2025 Sort numbers based on weight [ZOHO] Given a set of N numbers and the rules provided below to calculate their weights, the program must sort the numbers based on their weight and…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Sort the String Values Based on Length The program must accept N string values as the input. The program must sort the string values based on the length of each string…
Python1 Min Read LetuscrackonJune 11, 2024 Order digits based on the frequency A string consists of digits from 1-9 will be passed as input. The program must print the digits sorted based on the number of occurrence. If…
Python1 Min Read LetuscrackonJune 11, 2024 Sequence – Based on Previous Term The program must accept an integer N as the input. The program must generate a sequence of integers based on the following conditions. –…
Python1 Min Read LetuscrackonJune 10, 2024 Print Numbers – Frequency Based An array of N positive integers is passed as input. The program must print the numbers in the array based on the frequency of their…
C Java Python2 Min Read LetuscrackonJune 10, 2024 Sort based on Weight The program must accept N integers as the input. For each integer X, the program must find the sum of the weights based on the…
Python1 Min Read LetuscrackonJune 7, 2024 Expand String based on Frequency In a string compression technique, a string can be compressed based on the following condition.– If a character occurs…
Python1 Min Read LetuscrackonJune 7, 2024 Sort Integers based on Ones The program must accept N integers as the input. The program must sort the integers based on the number of ones in their binary representation…
C Java Kickstart Python1 Min Read LetuscrackonJune 7, 2024 Positive or Negative Based Multiples Accept an integer A as the input. If A is a positive integer then print the first five multiples of the unit digit of A as the…