Tip 1 : Do DSA
Tip 2 : Do Extra Subjects
Tip 3 : Prepare some Projects
Tip 1 : Do Mention coding profiles in resume
Tip 2 : Do add summary of Projects
2 coding questions
1st - Greedy
2nd - Recursion



It was a simple greedy question
I have taken the minimum of all adjacent absolute differences and printed the minimum
T.C -> O(n)
S.C -> O(1)



If the string is “bca”, then its permutations in lexicographically increasing order are { “abc”, “acb”, “bac”, “bca”, “cab”, “cba” }.
Given string contains unique characters.
using recursion and swapping it can be done.
T>C - > O(n*n!)

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: