alphasense logo
Alphasense· software engineer

Interview Experience of Software Engineer - 2 @ Alphasense

Result
Rejected
Posted
20 Aug 2025
347 reads

Summary

Applied for a Software Engineer position at Alphasense. The interview process included a DSA round with a specific problem. Despite solving the problem, I was rejected.

How it went

I recently went through an interview for a Software Engineer role at Alphasense. The interview consisted of a DSA round where I was given a problem related to evaluating multi-level boolean queries and determining the level of a given term. The problem had several test cases, including scenarios where the term appeared multiple times and required considering the deepest level. I worked through the examples and provided an explanation for the output, but ultimately, I was rejected.

Questions asked (1)

  1. 01

    Find Level of Term in Multi-Level Boolean Query

    Data Structures & Algorithms

    Given a multi-level boolean query, find the level of a given term. The boolean operators are AND and OR, and operands can be strings with spaces. The input consists of a query string and a term string, and the output is the level of the term. If the term is not present, return -1.

    Examples:

    • Input: query = A AND (B OR C), term = B → Output: 1
    • Input: query = A AND (B OR C), term = A → Output: 0
    • Input: query = A AND (B OR C), term = D → Output: -1
    • Input: query = B AND ((A AND B)), term = B → Output: 1 (Explanation: if operand occurs multiple times, consider the deepest level)
    • Input: query = A AND B OR C, term = B → Output: 0
    • Input: query = ((A)), term = A → Output: 0

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Alphasense recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!