Tip 1 : Start with the basics if you have lost touch with competitive coding. Don't directly jump to interview questions.
Tip 2 : Create a timetable and set goals. Keep aside 3-4 hours for studying. Consistency is the key.
Tip 3 : Focus on medium and hard questions. Solving a lot of easy questions doesn't help.
Tip 1 : Have some projects on your resume.
Tip 2 : Do not put the wrong things on your resume.
You are given 'N' stones labeled from 1 to 'N'. The 'i-th' stone has the weight W[i]. There are 'M' colors labeled by integers from 1 to 'M'. The 'i-th' stone has the color C[i] which is an integer between 1 to 'M', both inclusive.
Tell the difference Between array and linked List.
And according to which conditions Linked List and Array should be used.
Tip 1 : Tell the basic definition of both Data structures
Tip 2 : Read basics of every Data structures carefully and their uses
Tip 3 : Answer the question completely i.e. Tell all the differences Between array and Linked List and describe it deeply.
Tell about Constructors and types of Constructors in C++.
Why Virtual Destructors are possible while virtual Constructors are not Possible?
Tip 1 : Read about Constructor and Destructor topic carefully
Tip 2 : Do read about Copy Constructor.
Tip 3 : Give valid reason that why virtual constructors aren't possible.
What is Polymorphism?
What is the difference between operator overloading and polymorphism?
How Runtime Polymorphism is Implemented?
What are abstract Classes and virtual functions?
Read about run time polymorphism and compile time polymorphism
You have two ropes coated in oil to help them burn. Each rope will take exactly 1 hour to burn all the way through. However, the ropes do not burn at constant rates—there are spots where they burn a little faster and spots where they burn a little slower, but it always takes 1 hour to finish the job.
With a lighter to ignite the ropes, how can you measure exactly 45 minutes?
For 'arr' = [ 1, 2, 3, 1, 2]. you need to return 1.
Ninja is given an array of integers that contain numbers in random order. He needs to write a program to find and return the number which occurs the maximum times in the given input. He needs your help to solve this problem.
If two or more elements contend for the maximum frequency, return the element which occurs in the array first i.e. whose index is lowest.
Tell me about yourself.
Why should I hire you?
What are your strengths and weaknesses?
Why do you want to work at our company?
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which traversal uses a queue as its primary data structure?