Tip 1 :Used to practice daily on leetcode for couple of months
Tip 2 :System Design. takes time.
Tip 3 :
Tip 1:Write only what you are confident about
Tip 2:Dont write basic things
You are given,
array ARR=[4,3,2,1]
So, the output is 16 as we can take the sub-array [4,3,2,1](from index 0 to index 4) and sort it. So the total cost is 4*4 (16).
[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
1. If there is no possible path to change BEGIN to END then just return -1.
2. All the words have the same length and contain only lowercase english alphabets.
3. The beginning word i.e. BEGIN will always be different from the end word i.e. END (BEGIN != END).
If the string is “bca”, then its permutations in lexicographically increasing order are { “abc”, “acb”, “bac”, “bca”, “cab”, “cba” }.
Given string contains unique characters.
Design Instagram type of app for photosharing. Mostly focussed on LLD
This was techno -Managerial round
How does locking take place when multiple application stry to book same tickets in a movie show..Discussed similar techincal tradeoffs in modern applications.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is the default value of int data type?
where to prepare for system design