HackerEarth Confusion problem solution

In this HackerEarth Confusion problem solution As you know our star "gachn" is a rising star in competitive programming but nowadays he is upset because of a task given to him by his mentor. His teacher gave him a task: The task is that he has been given an array of N integers. his teacher gave him Q queries to solve. For each query he has to tell the teacher the number of distinct integers from Ai.Ai+1.Ai+2.......AN.


HackerEarth Confusion problem solution


HackerEarth Confusion problem solution.

import yeash pal






Second solution

import yeash pal



Post a Comment

0 Comments