Table of contents
This is a part of my job interviews series.
👉🏼 Background
- Years of Experience: 4.5 years
- Relevant Python experience: 2 years
- Year: August 2016
- Campus:
- Position: Python developer
- Company: HCL Technologies Ltd.
👉🏼 Interview discussions
☝🏼First phase
It was a pen paper-based exam, no computer was there. The discussion was more focused on solving RegEx-based problems.
- Regex for credit card number detection
- You can check this SO question for answers.
- Real-life use cases of decorator
- Provided example of login_required decorator in Django
- Reversal of a list not using split or any function
- Explained the following example
my_list = ['a', 'b', 'c'] my_reversed_list = my_list[::-1]
- Explained the following example
- IP address validation using regex
- You can check out this SO question for answers.
- Code to find out how many vowels are there in a string
- You can check this SO answer.
- Example of a decorator function
- Written a timer decorator as mentioned here on GeekforGeeks website.
- You can checkout codetiming from real-python.
👉🏼 Result
🤔Analysis
- It was a walk-in and many candidates were there, more than 50.
- The interview process was not well structured and could have been improved.
- I did not expect the discussions will be so much concentrated on RegEx, though I had the basic knowledge of RegEx I was not able to come up with solutions at that time.
I have appeared in 20+ interviews so far. You can check out my job interview series for the rest of the interviews experiences.
Let me know if you have any further questions. Thank You 🙏🏼
- Image source: Dealstreetasia