HCL interview experience

HCL interview experience

Python interview questions in HCL

Soumendra kumar sahoo
ยทDec 29, 2021ยท

2 min read

Subscribe to my newsletter and never miss my upcoming articles

Play this article

Table of contents

  • ๐Ÿ‘‰๐Ÿผ Background
  • ๐Ÿ‘‰๐Ÿผ Interview discussions
  • ๐Ÿ‘‰๐Ÿผ Result
  • ๐Ÿค”Analysis

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.

  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



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

Did you find this article valuable?

Support Soumendra kumar sahoo by becoming a sponsor. Any amount is appreciated!

See recent sponsors |ย Learn more about Hashnode Sponsors
Share this


Views are my own and not represent of my employer.
All articles and images are CC-BY-SA-4.0 licensed unless or until explicitly specified.