Filter interviews by
I was interviewed before Nov 2020.
Round duration - 20 Minutes
Round difficulty - Medium
Given an integer 'N', your task is to identify all palindromic numbers from 1 to 'N'. These are numbers that read the same way forwards and backwards.
The first line pr...
In this approach, iterate through the integers 1 to N, then check for each integer if it is a palindrome or not.
To check if an integer is a palindrome, convert the integer into a string and check if it is equal to the reverse.
We define a function isPalindrome(num), where we check if num is palindrome or not and return the result accordingly.
Algorithm:
Round duration - 45 Minutes
Round difficulty - Hard
Problems related to DB design
Given a square chessboard of size N x N
, determine the minimum number of moves a knight requires to reach a target position from a starting position.
The first line ...
Our intuition is to think of all the positions knight can reach from the current position. This problem can be seen as the shortest path in an unweighted graph. Hence, we use BFS to solve this problem.
A knight can move to 8 positions from (x,y).
(x, y) ->
(x + 2, y + 1)
(x + 2, y - 1)
(x - 2, y + 1)
&...
Round duration - 20 Minutes
Round difficulty - Easy
Tip 1 : Focused on technical challenges.
Tip 3 : Hacker Rank usage
Tip 1 : Highlight the tools
Tip 2 : Simple and crisp
Tip 3 : Brief explanation of the projects handled and the role that you have taken.
Top trending discussions
Consultant
1.1k
salaries
| ₹8.5 L/yr - ₹30 L/yr |
Associate Consultant
1.1k
salaries
| ₹4.8 L/yr - ₹18.5 L/yr |
Clinical Data Specialist
764
salaries
| ₹3.5 L/yr - ₹11.5 L/yr |
Drug Safety Associate
755
salaries
| ₹2.4 L/yr - ₹8.5 L/yr |
Software Developer
704
salaries
| ₹4.9 L/yr - ₹18.9 L/yr |
Cognizant
Accenture
TCS
Infosys