Tip 1: Your resume should have 1-2 good projects and possess good knowledge of the mentioned projects.
Tip 2: Be confident.
Tip 3: Focus on the logic in coding questions asked during the interview.
Tip 4: Review your resume thoroughly, revising all the technologies and skills you have mentioned, preferably twice.
Tip 1: Be honest when mentioning skills and projects on your resume.
Tip 2: Include 1-2 projects on your resume that were either completed independently or as part of a team (including yourself).
Tip 3: It's beneficial to provide links to your projects and GitHub.
The coding environment was quite good, and we also received a practice link from HackerEarth for understanding the environment a day before this round.



Print the following pattern
Pattern For N = 6
***********
* *
* *
* *
* *
*
Step 1: Understand the Pattern
The pattern forms a reverse triangle or pyramid shape with a hollow center.
Step 2: Calculate the Width
The total width of the pattern is
2N−1. This width includes the two stars and the spaces in between for the top row.
Step 3: Loop Through Each Row
Step 4: Code Efficiency and Edge Cases



You have been given two Strings “STR1” and “STR2” of characters. Your task is to find the length of the longest common subsequence. A String ‘a’ is a subsequence of a String ‘b’ if ‘a’ can be obtained from ‘b’ by deletion of several (possibly, zero or all) characters. A common subsequence of two Strings is a subsequence that is common to both Strings.
1. Develop a recursive function and alongside, set up a 2D array to cache results for unique states.
2. During recursive calls, check if a particular state has been encountered before.
3. If it has, simply retrieve and return the cached result for that state to avoid redundant calculations.
This round starts with the introduction. He asks me about the project and My role in the project. He shared a coding platform link with me for coding questions. The Interviewer is good, he suggested improvements needed.
Tip 1: Ensure your answers are both confident and accurate.
Tip 2: Review joins, DDL, DML commands, and basic database management systems.
Tip 3: Regularly practice SQL queries.
Tip 1: Ensure your answers are both confident and accurate.
Tip 2: Read OOPS concepts like Encapsulation, Abstraction, Class, Object, etc with real-life examples.
Tip 3: Practice OOP coding questions.



You are given an array ‘arr’ of ‘N’ distinct integers. Your task is to print all the non-empty subsets of the array. Note: elements inside each subset should be sorted in increasing order. But you can print the subsets in any order, you don’t have to specifically sort them.
1. Understand the Problem:
- You are given an array of distinct integers.
- You need to find all non-empty subsets of this array.
- Each subset should have its elements in increasing order.
- The order in which you print the subsets does not matter.
2. Start with an Example:
- Consider the array `arr = [1, 2, 3]`.
- The non-empty subsets are: `[1]`, `[2]`, `[3]`, `[1, 2]`, `[1, 3]`, `[2, 3]`, `[1, 2,3]`.
3. Understand the Concept of Subsets:
- A set with `N` elements has `2^N` subsets (including the empty set).
- For each element, there is a choice to either include it in a subset or not.
- This leads to a binary representation of subset inclusion, where `0` means exclude and `1` means include.
4. Algorithm to Generate Subsets:
- Iterate over the range from `0` to `2^N - 1`.
- For each number in this range, consider its binary representation as a pattern for creating a subset (where each bit corresponds to whether the element at that index is included).
- For each pattern, create a subset by including the elements that correspond to a `1` in the binary representation.
5. Implement the Algorithm:
- Given an array `arr` of size `N`, loop from `i = 0` to `2^N - 1`.
- For each `i`, create a new subset by checking each bit position `j` from `0` to `N - 1`.
- If the bit at position `j` in `i` is `1`, include `arr[j]` in the current subset.
- Print the subset after including the necessary elements.
6. Sort Each Subset:
- Since the array elements are distinct and the array is not necessarily sorted, ensure that each subset is sorted before printing it (if it's not already sorted).
- However, if you iterate over the array elements in order while constructing the subsets, they will automatically be sorted.
7. Code Implementation:
- You can use bit manipulation in a programming language like Python, Java, or C++ to implement the above algorithm.
It is the second Technical interview starts with my introduction. He asks me about projects, challenges faced during projects, etc.



Given an array ARR of N integers and an integer S. The task is to find whether there exists a subarray(positive length) of the given array such that the sum of elements of the subarray equals S or not. If any subarray is found, return the start and end index (0-based index) of the subarray. Otherwise, consider both the START and END indexes as -1.Note: If two or more such subarrays exist, return any subarray.For Example: If the given array is [1,2,3,4] and the value of S is equal to 7. Then there are two possible subarrays having sums equal to S are [1,2,3] and [3,4].
1. Understand the Problem: For `ARR = [1, 2, 3, 4]` and `S = 7`, the possible subarrays that sum up to `S` are `[1, 2, 3]` (indices `0` to `2`) and `[3, 4]` (indices `2` to `3`).
2. Algorithm to Find the Subarray: - Use a sliding window approach to keep track of the sum of elements in the current window.
3. Implement the Algorithm
4. Code Implementation: The sliding window approach is efficient and typically runs in O(N) time complexity, where N is the number of elements in the array.
It is the last round which is the HR round.
1. Tell me about Yourself.
2. Asked me to explain the Projects which I mentioned in my Resume.
3. Where do you see yourself in 5 years?
4. Tell me about your family.
5. Why Unthinkable?
Tip 1: Stay confident.
Tip 2: Be clear.
Tip 3: Good communication.
Tip 4: Negotiate if required.

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?