Bosch Technologies interview experience Real time questions & tips from candidates to crack your interview

Mobility Software Development (Embedded)

Bosch Technologies
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
It was a great experience in my life. The recruitment process was very rigorous, involving a 2-hour online test, a 1.5-hour technical interview, and a 1-hour HR interview.
Application story
I have applied through the placement cell of my college. After some days of submitting my application, a list of shortlisted students was received from the company, which included my name.
Why selected/rejected for the role?
I was selected for this role because I could satisfy my interviewers with my answers and clear the cut-off required for the online test.
Preparation
Duration: 2 months
Topics: Aptitude, Competitive Coding, Data Structures, OOPS, Embedded Systems, RDBMS
Tip
Tip

Tip 1 : Be confident
Tip 2 : Be honest in interview

Application process
Where: Campus
Eligibility: Min 7 CGPA or 70% with no active backlogs
Resume Tip
Resume tip

Tip 1 : Have some projects on your resume.
Tip 2 : Do not put false things on your resume.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration120 minutes
Interview date28 Sep 2023
Coding problem2

It included 40 technical questions related to ECE, 30 aptitude questions, 15 coding questions(output prediction), and 2 coding questions.

1. Intersection Of Two Sorted Arrays

Easy
10m average time
90% success
0/40
Asked in companies
IBMFacebookBig Basket

You are given two arrays 'A' and 'B' of size 'N' and 'M' respectively. Both these arrays are sorted in non-decreasing order. You have to find the intersection of these two arrays.

Intersection of two arrays is an array that consists of all the common elements occurring in both arrays.

Note :
1. The length of each array is greater than zero.
2. Both the arrays are sorted in non-decreasing order.
3. The output should be in the order of elements that occur in the original arrays.
4. If there is no intersection present then return an empty array.
Problem approach

Finding the intersection of two arrays means identifying the elements that are common to both arrays. Here are the steps to find the intersection of two arrays:

1. Create the Arrays: Start with two arrays that you want to find the intersection of. Let's call them `array1` and `array2`.

2. Initialize an Empty Result Array: You'll need a container to store the common elements. You can use an empty array or any other suitable data structure depending on your programming language.

3. Choose a Method:
- Brute Force: The simplest method is to use nested loops to compare each element of one array with each element of the other array. If an element is found in both arrays, add it to the result array.
- Optimized Methods: Depending on the programming language, you may have access to built-in functions or data structures that can optimize this process, such as sets or hash tables.

4. Iterate Through the First Array:
- If you're using nested loops, start by iterating through `array1`.

5. Compare Elements:
- For each element in `array1`, check if it exists in `array2`. You can use a nested loop for brute force or utilize the optimized methods available in your programming language.

6. Add Common Elements to Result Array:
- If an element is found in both `array1` and `array2`, add it to the result array. Ensure that you don't add duplicates if they exist in either array.

7. Iterate Through the Second Array:
- If you're using nested loops, now iterate through `array2`. This step is essential if you want to find elements that appear in both arrays regardless of their order.

8. Finalize the Result:
- If you haven't been adding elements to the result array in the previous steps (e.g., if you used sets or hash tables), make sure to finalize your result array now.

9. Result Array Contains Intersection:
- The result array now contains the intersection of `array1` and `array2`. It includes all the elements that are common to both arrays.

10. Handle Duplicates (Optional):
- If your arrays contain duplicate elements, and you want to eliminate duplicates from the result, you can do so by applying additional logic or using data structures that do not allow duplicates.

11. Output or Use the Intersection: Depending on your use case, you can now use, display, or manipulate the elements in the result array as needed.

Here's a simple example in Python:

```python
def find_intersection(array1, array2):
result = []
for element in array1:
if element in array2 and element not in result:
result.append(element)
return result
```

This function takes two arrays (`array1` and `array2`) as input and returns an array containing their intersection.

Try solving now

2. Reverse Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
IBMQuikrMicrosoft

Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

For example:
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Follow Up :
Can you solve this problem in O(N) time and O(1) space complexity?
Try solving now
02
Round
Hard
Face to Face
Duration90 minutes
Interview date29 Sep 2023
Coding problem1

1. System Design Question

The basic structure of prompt engineering. 

Playground parameters in ChatGPT3. (Learn)

Problem approach

Prompt engineering is the process of designing and crafting effective prompts for generating desired responses from language models like GPT-3.5. A well-structured prompt is crucial in obtaining accurate and relevant information from the model. Here's a basic structure for prompt engineering:

1. Specify the Context:
- Begin by setting the context or providing any necessary background information. This helps the model understand the context and generate more relevant responses.

2. State the Task or Question Clearly:
- Clearly and explicitly state the task or question you want the model to address. Make sure it's specific and unambiguous.

3. Set Any Constraints or Guidelines:
- If there are specific guidelines or constraints for the response, make them clear in the prompt. For example, you can specify a word limit, ask for a summary, or request a comparison.

4. Use Natural Language:
- Write the prompt in natural language that is easy for the model to understand. Avoid overly technical or complex language unless necessary.

5. Provide Examples (Optional):
- If it helps to illustrate the desired response, you can include one or more examples in the prompt. This can give the model a better understanding of your expectations.

6. Consider the Model's Limitations:
- Keep in mind the limitations of the language model you are working with. For example, if the model's knowledge is limited to a specific date, specify that date if relevant.

7. Test and Iterate:
- It's often necessary to experiment with different prompts and see which one yields the best results. You may need to iterate and refine your prompts based on the model's responses.

8. Monitor and Review Outputs:
- After generating responses, carefully review and evaluate them to ensure they meet your requirements. Adjust the prompts as needed if the responses are not satisfactory.

9. Consider Safety and Ethical Concerns:
- Be mindful of the potential ethical and safety concerns associated with prompt engineering. Avoid prompts that may lead to harmful or inappropriate content.

10. Adapt to the Model's Strengths and Weaknesses:
- Different language models may have different strengths and weaknesses. Adapt your prompts to leverage the model's strengths and work around its limitations.

11. Gather Feedback:
- If possible, gather feedback from users or experts who interact with the model's responses. This feedback can help you refine your prompts further.

12. Document Your Prompts:
- Maintain a record of the prompts you have used and their corresponding responses. This documentation can be valuable for future reference and analysis.

13. Iterate and Improve Continuously:
- Prompt engineering is an ongoing process. As language models improve and evolve, revisit your prompts and adapt them to take advantage of new capabilities.

Remember that the effectiveness of your prompts can significantly impact the quality of responses from language models, so investing time and effort in prompt engineering is essential for achieving your desired outcomes.

03
Round
Medium
HR Round
Duration60 minutes
Interview date29 Sep 2023
Coding problem1

It included hypothetical question related to family background, strengths and weaknesses.

1. Basic HR Questions

Describe your family background.

Tell your strengths and weaknesses.

Any questions from your side?

Problem approach

Tip 1: Be honest
Tip 2: Be focussed

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
960 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 views
0 comments
0 upvotes