Verily Screening - Initial Interview (USA)

Location
USA
Posted
7 Sept 2026
48 reads

Summary

I attended Verily's initial screening interview on 09/03 and was asked a problem about finding related IDs based on shared properties.

How it went

I attended Verily interview on 09/03. Here is the question asked :

You're given a list of elements. Each element has a unique id and 3 properties. Two elements are considered related if they share any of the 3 properties. Please write a function that takes the input and returns all the related IDs.

- E1: id1, p1, p2, p3

- E2: id2, p1, p6, p5

- E3: id3, p3, p7, p8

Expected output: [["id1", "id2"], ["id1", "id3"]]

Questions asked (1)

  1. 01

    Find Related IDs based on Shared Properties

    Data Structures & Algorithms

    You're given a list of elements. Each element has a unique id and three properties. Two elements are considered related if they share any of the three properties. Write a function that takes the input list and returns all pairs of related IDs.

    Example input:

    • E1: id1, p1, p2, p3
    • E2: id2, p1, p6, p5
    • E3: id3, p3, p7, p8

    Expected output: [["id1", "id2"], ["id1", "id3"]]

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Verily 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!