Enhance it Interview Questions

Enhance it Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(1)

Enhance it Interview Questions

Practice for the Enhance it interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Medium

Given an array filled with random values, write a function rotate_matrix to rotate the array by 90 degrees in the clockwise direction.

Example:

Input:

import numpy as np

array = np.array( [[1, 2, 3, 4, 5], [2, 3, 4, 5, 6], [3, 4, 5, 6, 7], [4, 5, 6, 7, 8], [5, 6, 7, 8, 9]] )

array

12345
23456
34567
45678
56789

Output:

54321
65432
76543
87654
98765

Loading pricing options

View all Enhance it questions

Challenge

Check your skills...
How prepared are you for working at Enhance it?

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.

Discussion & Interview Experiences

There are no comments yet. Start the conversation by leaving a comment.

Jump to Discussion