Python1 Min Read LetuscrackonJune 9, 2024 Count Odd Numbers in an Interval Range Given two non-negative integers low and high. Return the count of odd numbers…
C2 Min Read LetuscrackonJune 9, 2024 Interlace odd / even from A to B Two numbers A and B are passed as input. The program must print the odd numbers from A to B (inclusive of A and B) interlaced with the even…
C1 Min Read LetuscrackonJune 8, 2024 Odd Length String – Middle Three Letters An odd length string S is passed as the input. The middle three letters of S must be printed as the output. Example 1;…
C1 Min Read LetuscrackonJune 8, 2024 Odd Length String Diagonal Pattern An odd length string S of length is passed as the input. The program must print the string S as two diagonal as shown in the example…
C Java Python2 Min Read LetuscrackonJune 8, 2024 Reduce Array – Remove Odd The program must accept an array of N even integers as the input. The program must print the output based on the following…
Python1 Min Read LetuscrackonJune 8, 2024 All Possible Odd Integers The program must accept an integer N as the input. The program must print the unique odd integers formed using all the digits…
Python1 Min Read LetuscrackonJune 7, 2024 Print Odd or Even The program must accept an integer N as the input. The program must print Odd if N is odd. Else the program must…
Python1 Min Read LetuscrackonJune 7, 2024 Same Bits – Odd Positions The program must accept two integers X and Y as the input. The program must print an integer C whose binary…
C Kickstart1 Min Read LetuscrackonJune 6, 2024 Check If Tenth Digit is Odd or Even (Using if-else) The program must accept an integer N as the input. The program must print Odd if the tenth digit is odd. Else the…
C Kickstart1 Min Read LetuscrackonJune 6, 2024 Print Odd or Even (Using if-else) The program must accept an integer N as the input. The program must print Odd if N is odd. Else the program must…