Interview was consist of 3 coding rounds along with G&L questions.Every round was of 45-60 minutes.The questions were very standard & tricky.If anyone qualifies in the first 2 rounds then get chance to seat in the further rounds.Interview process was was online.I was qualified for 2 rounds and both the questions were asked from file system.
Interview questions [1]
Question 1
Round 1: Approx 45 minutes
Question:
Given a URI, traverse all its subdirectories and files, and return a list of the top 10 largest files in byte, including their names and sizes. If the directories are empty, return '-1' as the result.
Input:
uri: “C:/xvcv/bfbfbb/jbhdbb”
Output:
54789565 “C:/xvcv/bfbfbb/jbhdbb/dn”
7458225 “C:/xvcv/bfbfbb/jbhdbb/dn/xvhh”
1254788 “C:/xvcv/bfbfbb/jbhdbb/jkl”
……….
112542 “C:/xvcv/bfbfbb/jbhdbb/pqr”
Hint: Use Linux Commands
Approach:
I used recursion to traverse all subdirectories within a given URI. I employed storage class commands to retrieve the size of each file and list out the child files, which I stored in a list. Then, I sorted the list and returned the top 10 largest files from it. Before traversing, I checked for edge cases to ensure robustness.
Round 2: Approx 45 minutes
Question: given a class having 3 member functions create_directory(string filepath),create_file(string filename,string filepath),bool find_filename_from given prefix(string pref,string filepath) implement these 3 member functions.
Input:
Create_directory // eg:-filepath: /abc/f/d/x/
Create_file // eg:-filepath: /abc/f/d/x/ filename:google.yaml
find_filename_from given prefix eg:-filepath: /abc/f/d/x/dsa.yaml prefix:ds
The interview experience was good overall. The interviewer was calm and professional, and asked moderately difficult questions covering DSA, HTML, CSS, AI, ML, DL, NLP, and related technical concepts. The discussion was well-structured and provided a balanced assessment of both fundamentals and problem-solving skills.
3 rounds resume screening online test then interview in 3 parts technical round managerial round and hr round and all were good and interview was very helpful for me and interviewer also helped me in many questions
Process took 2-3 months. Three round of interviews. With technical exercise. Panel of 2 interviewers. interviewers were nice and supportive throughout the interview process. They made me feel very comfortable.