Tip 1: Try to solve as many coding problems as possible on various coding platforms like GFG, Leetcode, Coding Ninjas, Codechef, or any other.
Tip 2: Practice DSA and their implementation-based problems along with the different algorithms.
Tip 3: Focus on each and everything you have written in your resume along with projects you have done.
Tip 1: Must add projects to your resume.
Tip 2: Try to be as truthful as possible about everything in your resume.
60 minutes for mcq
60 minutes 2 coding problems



Given two strings, determine if they are anagrams of each other. An anagram is a word or phrase formed by rearranging the letters of another word or phrase, typically using all the original letters exactly once.
I began by understanding the problem statement, which was to determine whether two given strings are anagrams of each other. To solve the problem, I decided to compare the sorted versions of the two strings. If the sorted strings are equal, it means the original strings are anagrams of each other. Firstly, I removed any spaces from both strings and converted them to lowercase to ensure case-insensitive comparison.
Then, I sorted the characters in both strings alphabetically.
Finally, I compared the sorted strings. If they were equal, I concluded that the original strings were anagrams; otherwise, they were not.
For corner cases check if both input strings are empty. If they are, return True because empty strings are considered anagrams of each other. After sorting the strings, compare their lengths. If they are not equal, return False immediately because strings of different lengths cannot be anagrams. If the lengths are equal, proceed to compare the sorted strings. If they are equal, return True, indicating that the original strings are anagrams; otherwise, return False.


Given a string containing uppercase and lowercase English letters, sort the characters in the string in alphabetical order. Uppercase letters should precede lowercase letters, and within each group, the characters should be sorted in ascending order. Other characters such as digits or symbols should be ignored and maintained in their original positions.
To solve the problem, I did the following:
Extract all alphabetic characters from the input string.
Sort the extracted alphabetic characters in ascending order, with uppercase letters considered before lowercase letters.
Replace the alphabetic characters in the original string with the sorted characters, maintaining their positions.
Return the modified string.
For corner cases :
If the input string is empty, return an empty string.
If the input string contains no alphabetic characters, return the original string as it is.
It was an online interview via Microsoft teams in the afternoon.
Explain the concept of a linked list and its advantages over arrays.
Explain the difference between breadth-first search (BFS) and depth-first search (DFS). (Link)
Tip 1: Focus on the basics and be confident in the interview.
Tip 2: Clear your concepts thoroughly.
What are the primary keys and foreign keys in a relational database?
Describe the various types of database normalization and their importance.
Tip 1: Learn DBMS Concepts thoroughly.
Tip 2: Practice SQL queries



how to check if the string is a palindrome.
Convert the string to lowercase to make the comparison case-insensitive.
Use two pointers to traverse the string from both ends simultaneously.
Compare characters at corresponding positions from both ends.
If all characters match, return True (indicating that the string is a palindrome); otherwise, return False.
What is the purpose of __init__ method in Python classes? (Link)
What is PEP 8?
Tip 1: Have a good understanding of language-specific programming fundamental concepts.

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?