Tip 1 : Focus on the basics
Tip 2 : Solve and practice coding questions as much as possible
Tip 3 : Go through the important subjects such as oops, DBMS, etc, and apply this knowledge in building new projects.
Tip 1 : Customize it for the job: Tailor your resume to match the job description and requirements. Highlight the skills and experience that are most relevant to the job you are applying for.
Tip 2 : Highlight your achievements: Instead of just listing your job duties, focus on your accomplishments and how you added value to your previous employers.



If A = “aab”, 'B' = “abc”, 'C' = “aaabbc”
Here 'C' is an interleaving string of 'A' and 'B'. because 'C' contains all the characters of 'A' and 'B' and the order of all these characters is also the same in all three strings.

If 'A' = “abc”, 'B' = “def”, 'C' = “abcdefg”
Here 'C' is not an interleaving string of 'A' and 'B'. 'B'ecause neither A nor 'B' contains the character ‘g’.
Define a function that takes two string inputs and returns a string output.
Initialize an empty string variable to store the common characters found in both input strings.
Iterate through the characters in the first input string.
For each character, check if it is present in the second input string and not already present in the output string variable.
If both conditions are satisfied, add the character to the output string variable.
Return the output string variable.



The given singly linked list is 6 -> 5 -> 3 -> 4 -> 7 -> 1 -> 2

The modified linked list should have all even values in starting and odd values in the end.
Define a function that takes a linked list as input and returns a new linked list.
Initialize a new empty linked list to store the odd-valued nodes.
Traverse the input linked list.
For each node, check if the value is odd.
If the value is odd, add the node to the new linked list.
Once all nodes in the input linked list have been checked, return the new linked list.



In the given linked list, there is a cycle, hence we return true.

Define a function that takes a linked list as input and returns True or False.
Initialize two pointers: a slow pointer and a fast pointer, both pointing to the head of the linked list.
Traverse the linked list, advancing the slow pointer one node at a time and the fast pointer two nodes at a time.
If the fast pointer reaches the end of the list (i.e., its next value is None), the linked list does not contain a loop, and the function should return False.
If the fast pointer reaches a node that is the same as the slow pointer, the linked list contains a loop, and the function should return True.



Each pair should be sorted i.e the first value should be less than or equals to the second value.
Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
Define a function that takes in a list of integers and a target sum.
Create an empty dictionary to store the complement of each integer in the list as the key, and its index in the list as the value.
Traverse the list of integers, for each integer check if its complement exists in the dictionary.
If the complement exists in the dictionary, return a list containing the current integer and its complement, which is stored as the key in the dictionary.
If the complement does not exist in the dictionary, add the current integer's complement (target sum minus current integer) and its index to the dictionary.
If no pair is found in the list, return an empty list.
Suppose you have a database that stores information about employees in a company. You want to retrieve the names and salaries of all employees who earn more than $50,000 per year.
Identify the relevant tables in the database, which may include an Employee table and a Salary table.
Join the tables using a SQL query that links the Employee ID in the Employee table to the corresponding Employee ID in the Salary table.
Use a WHERE clause to filter the results to only include employees whose salaries are greater than $50,000 per year.
Use a SELECT statement to retrieve the names and salaries of the qualifying employees.
Test the query to ensure that it returns the desired results and make any necessary adjustments to the query, or the database schema as needed.
What is virtual memory and how does it work in an operating system?
Understand the basic concept of memory management in an operating system.
Define what virtual memory is, which is a technique used by the operating system to provide the illusion of a larger amount of memory than is physically available.
Explain how virtual memory works, which involves dividing the memory into fixed-sized pages and mapping these pages to a larger address space.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?