Python ZOHO1 Min Read LetuscrackonJune 12, 2024 Zero Insert After K Times One [ZOHO] Given a bit stream of length N consisting of 0s and 1s, insert 0 after 1 has appeared K times consecutively. Input Format:The first line…
C Java Python2 Min Read LetuscrackonJune 12, 2024 Digit That Appears the Least Number of Times The program must accept an integer N as the input. The task is to determine the digit that appears the least number of times in N. If there…
C1 Min Read LetuscrackonJune 11, 2024 Array Rotate Forward – R times An array of N integers is passed as the input to the program and the program must rotate the elements R times in forward direction. Input…
C1 Min Read LetuscrackonJune 9, 2024 Stock Buy & Sell Multiple Times – Maximum Profit Example Input/Output 1: Input:10 5 8 10 12 9 6 14 21 15 10 Output:22
Python1 Min Read LetuscrackonJune 8, 2024 Remove characters occurring multiple times A string S is passed as the input. The program must remove all characters which appear more than once. If all the characters in a string are…
Python1 Min Read LetuscrackonJune 7, 2024 Divide by 2 for T times using Bitwise Operators The program must accept two integers N and T as the input. The program must divide the integer N by 2 for T…