Round 1: HackerRank Test
Two coding questions were given , which needs to be solved in 1 hour. Very simple level questions.
- Given a string, find the first even length word and print it.
- Given two numbers , find the minimum operations to be done to make two numbers same. In one operation a digit can be incremented or decremented by one.
- Vtable and Vptr implementation.
- Function overloading vs overriding
- other basic C++ questions
- Algorithm Questions:
- Reverse a linked List
- Remove duplicates from a string
- a recursive questions on linked list(don't remember exactly)
- Given an array of integers and a number , find the sub-array with maximum elements whose sum is less than equal to given number
- Â Standard 25 horses and minimum race problem.