Tip 1 : Practice Atleast 250 Questions from coding ninjas
Tip 2 : Do some good projects
Tip 1 : Have some good projects on resume.
Tip 2 : Do not put false things on resume and be confident about things on your resume.
The interview began with a brief exchange of introductions and then I was given the question. It was a coding question.



Can you try to solve this problem in O(N) time and O(1) space?
If ‘N’ = 3
Then there are 5 possible binary strings of length equal to 3 that do not contain consecutive 1’s: “000”, “001”, “010”, “100”, “101”.
60 minutes coding round with 1 coding question and 15 mins GNL round



My approach was considering all variables as nodes of the graph and then drawing an edge from vertex u to v if u>v and output will be false if a cycle is present in the graph.
Topological sort of DFS can be used to detect cycles in directed graphs.
He first introduced himself and then asked me to introduce myself, Then he moved to the coding problem



Note that the level order traversal must not contain any null values, simply return the tree in level order.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?