Take your time and avoid rushing into things. Learning requires patience. Focus on understanding concepts thoroughly rather than leaving topics half-prepared. Allocate 70% of your time and effort to Data Structures and Algorithms (DSA). I solved approximately 500 questions on coding platforms. Avoid repeating similar questions solely to increase your question count.
Tip 1: Begin by ensuring your resume has a clear and concise format. Use appropriate headings, bullet points, and consistent formatting to enhance readability. Avoid cluttering the document with excessive information or complex designs.
Tip 2: Customize the content of your resume to match the specific job you're applying for. Analyze the job description to identify key skills, qualifications, and experiences sought by the employer. Highlight relevant achievements, responsibilities, and qualifications that align with the job requirements.
The DBMS questions in the technical interview covered topics such as relational database management, ACID properties, database security, and data integrity. We were asked to discuss scenarios involving database design, SQL queries, and handling concurrent transactions efficiently.
Suppose given input is "abacb", then the length of the longest substring without repeating characters will be 3 ("acb").
I solved this question using a sliding window concept and took a map while traversing the string to check if any repeated characters appeared or not.
If the Input Expression is 3*5+2, then the maximum value of ‘21’ can be obtained by placing the parentheses as 3*(5+2). So you need to return 21.
I solved this question using recursion by putting brackets at all possible places evaluating the answer through recursion and finding the maximum out of them.
Input: 'n' = 5, 'm' = 6
'edges' = [[1, 2, 6], [2, 3, 5], [3, 4, 4], [1, 4, 1], [1, 3, 2], [3, 5, 3]]
Output: 11
Explanation: The given graph is:
The minimum spanning tree of the graph is:
And its weight is 1 + 2 + 5 + 3 = 11.
If the input tree is as depicted in the picture:
The Left View of the tree will be: 2 35 2
I did level order traversal and then printed the first element of each level.
F(n) = F(n-1) + F(n-2),
Where, F(1) = F(2) = 1.
For ‘N’ = 5, the output will be 5.
This problem is a simple recursive problem. But time complexity of simple recursive calls is exponential. In O(long) this problem can be solved using a simple trick.
If n is even then k = n/2:
F(n) = [2*F(k-1) + F(k)]*F(k)
If n is odd then k = (n + 1)/2
F(n) = F(k)*F(k) + F(k-1)*F(k-1)
This method will solve this question in O(long).
If the value of 'N' is 2, 'A' is "ab" , 'B' is "aa" and 'C' is "bb".
Then the answer for this input is
min = 2
max = 2
Because current difference is 1 + 1 = 2
After one rotation difference will be 1 + 1 = 2
Hence, the minimum and the maximum answer is 2.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you select an element by class name in CSS?