Try to solve Data Structures and Algorithms-based questions on your own before looking at the solution, and aim to do them as quickly as possible. Also, prepare for theoretical subjects like Operating Systems and Database Management Systems. I used Coding Ninjas' subjective notes for these topics, and they are very accurate and up to the mark.
Tip 1: Include some projects on your resume.
Tip 2: Do not include any false information on your resume.



For given 2D array :
[ [ 1, 2, 3 ],
[ 4, 5, 6 ],
[ 7, 8, 9 ] ]
After 90 degree rotation in anti clockwise direction, it will become:
[ [ 3, 6, 9 ],
[ 2, 5, 8 ],
[ 1, 4, 7 ] ]
You are given a matrix ‘MAT’ of size 'N' × 'M' (where 'N' and 'M' denote the number of rows and columns, respectively) and a positive integer ‘K’. Your task is to rotate the matrix to the right 'K' times.



For a given string “BaaB”
3 possible palindrome partitioning of the given string are:
{“B”, “a”, “a”, “B”}
{“B”, “aa”, “B”}
{“BaaB”}
Every substring of all the above partitions of “BaaB” is a palindrome.
You are given a string 'S'. Your task is to partition 'S' such that every substring in the partition is a palindrome. You need to return all possible palindrome partitions of 'S'.



Let's say the given array is [ 9, 98, 7].
All the possible numbers formed by concatenating each of the array elements are 7989,7998,9879,9897,9987,9798. Among the six numbers, 9987 is the greatest number. Hence the answer is 9987.
Given an array "A" of positive integers, your task is to form the largest possible number by concatenating each array element exactly once.



Infix notation is a method of writing mathematical expressions in which operators are placed between operands.
For example, "3 + 4" represents the addition of 3 and 4.
Postfix notation is a method of writing mathematical expressions in which operators are placed after the operands.
For example, "3 4 +" represents the addition of 3 and 4.
Expression contains digits, lower case English letters, ‘(’, ‘)’, ‘+’, ‘-’, ‘*’, ‘/’, ‘^’.
Input: exp = ‘3+4*8’
Output: 348*+
Explanation:
Here multiplication is performed first and then the addition operation. Hence postfix expression is 3 4 8 * +.
You are given a string EXP, which is a valid infix expression. Convert the given infix expression into a postfix expression.



For the given binary tree

The level order traversal will be {1,2,3,4,5,6,7}.
You are given a binary tree of integers, and you are supposed to return its level-order traversal.



You are given an array/list 'ARR' of ‘N’ integers and ‘Q’ queries. Each query can be of two types:

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?