Cerinta completa Palindromes are strings that read the same from the left or right, for example madam or 0110. You will be given a string representation of a number and a maximum number of changes you can make. Alter the
Jim and his LAN Party
Cerinta completa During the Steam Summer Sale, Jim’s friends have purchased games, which are numbered from to . The games are multiplayer. Jim has invited his friends to his basement where they will play by making a LAN-Party. Each friend
Kingdom Connectivity
Cerinta completa It has been a prosperous year for King Charles and he is rapidly expanding his empire. In fact, he recently invaded his neighboring country and set up a new kingdom! This kingdom has many cities connected by one-way
Jogging Cats
Cerinta completa It’s almost summertime, so Big Cat and Little Cat are getting in shape. They decide the core of their fitness plan is to start jogging every day. Their city consists of intersections connected by bidirectional roads. The cats
Inverse RMQ
Cerinta completa Range Minimum Query is a well-known problem: given an array of distinct integers with size and queries, find the minimum element on subsegment . One of the most efficient and famous solutions to this problem is a segment
Jumping Rooks
Cerinta completa Nina has an chessboard and jumping rooks. Every cell of the chessboard is either blocked or free, and Nina can only put a single rook in any free cell. Two jumping rooks beat each other if they are
Journey Scheduling
Cerinta completa Fedya is a seasoned traveller and is planning his trip to Treeland. Treeland is a country with an ancient road system which is in the form of a tree structure. cities of Treeland are numbered by positive integers:
Jeanie’s Route
Cerinta completa Byteland has cities (numbered from to ) and bidirectional roads. It is guaranteed that there is a route from any city to any other city. Jeanie is a postal worker who must deliver letters to various cities in
Introduction to Nim Game
Cerinta completa Nim is the most famous two-player algorithm game. The basic rules for this game are as follows: The game starts with a number of piles of stones. The number of stones in each pile may not be equal.
Insertion Sort – Part 2
Cerinta completa In Insertion Sort Part 1, you inserted one element into an array at its correct sorted position. Using the same approach repeatedly, can you sort an entire array? Guideline: You already can place an element into a sorted
