Given a number N and an infinite 2D matrix, which is to be filled using the algorithm given below, the task is to find the… Read More
The post Find the position of given element N in infinite spiral matrix starting from top-left appeared first on GeeksforGeeks.