There are 15 posts in total till now.
Heist传送There was an electronic store heist last night. All keyboards which were in the store yesterday were numbered in ascending order from some inte
Diagonal Walking v.2传送Mikhail walks on a Cartesian plane. He starts at the point(0,0), and in one move he can go to any of eight adjacent points. For
Palindrome Dance传送A group of n dancers rehearses a performance for the closing ceremony. The dancers are arranged in a row, they’ve studied their danc
Equalize传送You are given two binary strings a and b of the same length. You can performthe following two operations on the string a:Swap any two bits a
Reach Median传送You are given an array a of n integers and an integer s. It is guaranteed thatn is odd.In one operation you can either increase or decre