Round 1: Online Assignment
In this round, I had to design a Memory File System with various functionalities like:-
- mkdir: Create a new directory.
- cd: Changes the current directory. Support navigating to the parent directory using .., moving to the root directory using /, and navigating to a specified absolute path. Anything that you can do in a normal terminal. Since there is no user-level implementation, ~ and / should take you to root.
- ls: List the contents of the current directory or a specified directory.
- grep: Search for a specified pattern in a file. PS: It’s a bonus
- cat: Display the contents of a file.
- touch: Create a new empty file.
- echo: Write text to a file. ex – echo ‘I am “Finding” difficult to write this to file’ > file.txt
- mv: Move a file or directory to another location.
- cp: Copy a file or directory to another location.
- rm: Remove a file or directory.
Inito Interview Experience for Software Engineering Internship (Off-Campus)
This was an off-campus opportunity.