Skip to main content

Command Palette

Search for a command to run...

HCL interview experience

Python interview questions in HCL

Published
โ€ข2 min read
HCL interview experience
S

I love programming, writing, travelling mountains, and mentoring. Let me know what you think at any of the following places:

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

via GIPHY

It was a pen paper-based exam, no computer was there. The discussion was more focused on solving RegEx-based problems.

  1. Regex for credit card number detection
  2. Real-life use cases of decorator
  3. 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]
      
  4. IP address validation using regex
  5. Code to find out how many vowels are there in a string
  6. Example of a decorator function

๐Ÿ‘‰๐Ÿผ Result

via GIPHY

๐Ÿค”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 ๐Ÿ™๐Ÿผ

Job Interviews

Part 4 of 9

I have appeared in 20+ interviews, working on my 5th company. In this series I have mentioned the questions I faced, and also my thoughts from an interviewer's perspective, which will help you.

Up next

Sony interview questions

Python interview questions in Sony India software