Tip 1 : Give stress on the quality of questions rather than quantity (more of the medium than easy)
Tip 2 : Try to make meaningful variable names while doing questions otherwise you'll forget to do so in an actual interview
Tip 3 : Work on basics of core subjects like DBMS, OS if you are from CS/IT Networking is not asked much in my opinion
Tip 1 : Try to present projects that you know completely in and out
Tip 2 : Make sure to pass your resume through an online ATS before submitting
It was an online proctored coding test just like you have given on any platform with two question to be solved in 90 mins



You may make as many transactions as you want but can not have more than one transaction at a time i.e, if you have the stock, you need to sell it first, and then only you can buy it again.
Step 1: I created three variables for storing least price so far,overall profit and profit if sold today
Step 2: For every price in the array I checked if its less than least price so far
Step 3: Calculated the profit if sold today
Step 4: Compared it with overall profits
Step 5: Returned the overall profit after traversal was complete.



the basic idea is, keep a hashmap which stores the characters in string as keys and their positions as values, and keep two pointers which define the max substring. move the right pointer to scan through the string , and meanwhile update the hashmap. If the character is already in the hashmap, then move the left pointer to the right of the same character last found. Note that the two pointers can only move forward.
This round included discussion of my previous internships and resume projects



(1) Do not use data types with the capacity of more than 32-bit like ‘long int’ or ‘long long int’ in C++. The problem is meant to reverse the integer using a 32-bit data type only.
(2) You should assume that the environment does not allow storing signed or unsigned 64-bit integers.
Step 1: I used the modulo operation to get the last digit of the number
Step 2: I stored it in a string
Step 3: When all digits are traversed I converted the string to array

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?