Try to do Data Structures and Algorithms based questions and firstly attempt it yourself before going to the solution, also try to do it as quickly as you can. Also prepare for theory subjects like Operating system, Database Management System, etc which I prepared through Coding Ninjas subjective notes and they are very accurate and up to mark
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.



If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
You are given a string of length N. You need to reverse the string word by word. There can be multiple spaces between two words and there can be leading or trailing spaces but in the output reversed string you need to put a single space between two words, and your reversed string should not contain leading or trailing spaces.



Given an array/list of integers of length ‘N’, there is a sliding window of size ‘K’ which moves from the beginning of the array, to the very end. You can only see the ‘K’ numbers in a particular window at a time. For each of the 'N'-'K'+1 different windows thus formed, you are supposed to return the maximum element in each of them, from the given array/list.



1. The maximum obtainable value can always be stored in 64-bit memory space.
2. The given number 'X' is always non-negative.
You are given an integer 'X' and your task is to find an integer 'Y' such that the bitwise XOR of the integers 'X' and 'Y' give the maximum possible value. The integer 'Y' should not be greater than 2305843009213693951 ((2^61) - 1).
A bitwise XOR is a binary operation that takes two bit patterns of equal length and performs the logical exclusive OR operation on each pair of corresponding bits. The result in each position is 1 if only one of the bits is 1, but will be 0 if both are 0 or both are 1.
1. Why you used web sockets in your messaging application project, why not some other protocols?
2. Followed by different protocols and their advantages and disadvantages.
Tip 1 : Know about why you make certain choices when working on some project and be thorough with the projects before the interview



1. The array consists of only 3 distinct integers 0, 1, 2.
2. The array is non-empty.
You are given an array of size ‘n’ to find the minimum number of steps to either convert it into either non-decreasing or non-increasing array. In one step you can either increment or decrement the element of the array.
Creating a simple form with basic validations on form field.
Tip 1 : Follow the instructions
Tip 2 : Practice some form creation before attempting the test

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