integers

PythonF

Swap Integers Matrix Border

The program must accept an integer matrix of size R*C and two integers X, Y as the input. The program must find the Xth integer and the Yth in…
PythonF

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…
PythonF

Form List of Integers

The program must accept N integers as the input. The program must form a list of integers based on the following conditions. Initially, the…
PythonF

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…
PythonF

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…
CF

Integers & Operators

The program must accept N integers and a string containing N-1 arithmetic operators (+, -, * and /). The program must form an arithmetic…
PythonF

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…
CF

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…