Apple | SWE | Phone Screen. 1 & 2

Anonymous User
196
Oct 01, 2024

First round:



// Say you’re in charge of a particular set of servers at a biotech firm. Your job is to store DNA sequences from across the company. 

// These sequences 

// * Can be ~millions of characters long (and there are ~millions of them)
// * Depend on the order, so GTA != GAT
// * Consist only of the letters G, T, A, and C
// * Can have repeats like GATGAT or even GGGGAAATTAAA...


// Your management comes to you saying you’re using way too much storage on disk. 
// How would you reduce the amount of storage you’re using?



    }
  }
}

Second Phone Screen:

// Your previous Plain Text content is preserved below:

//              A
//            /         \
//      P         C
//     /                /     \
// K               A        L

// find(String name) -> list of direct reports  and manager. this person reports to [] List<String>
Comments (0)