C Python2 Min Read LetuscrackonJune 8, 2024 Integers – Check Triplets The program must accept N integers as the input. The program must print Yes if there is at least one triplet (a, b, c) in the given N integers…
Python1 Min Read LetuscrackonJune 8, 2024 Integers – Parity Sort The program must accept N integers as the input. The program must sort the integers based on the parity (Even parity followed by Odd…
Python1 Min Read LetuscrackonJune 7, 2024 Expand and Sort – Integers The program must accept N integers as the input. The program must expand each integer to a maximum value by repeating any one of the…
C1 Min Read LetuscrackonJune 7, 2024 Integers & Operators The program must accept N integers and a string containing N-1 arithmetic operators (+, -, * and /). The program must form an arithmetic…
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…
C1 Min Read LetuscrackonJune 7, 2024 Sum of Two Integers Equal to K The program must accept N integers and an integer K as the input. The program must print yes if the sum of any two integers among the N…
C Python1 Min Read LetuscrackonJune 7, 2024 N Integers – Kth Largest Integer The program must accept N integers and an integer K as the input. The program must print the Kth largest integer among the N integers as the…
C Python1 Min Read LetuscrackonJune 7, 2024 Integers – Equal to Index The program must accept N integers and print the integers which are equal to their index value as the output. If there is no such integer, the…
Python1 Min Read LetuscrackonJune 7, 2024 K-digit Integers – Xth Smallest The program must accept a list of N unique integers and two integers K, X as the input. The program must print…
Python1 Min Read LetuscrackonJune 7, 2024 Two Integers Plus or Minus The program must accept two integers A,B separated by a string S (whose value is plus or minus). Based on the string value S, the program must…