A few days ago, I approached a company for an internship program and after one coding round and three technical interviews, I received an offer and I took it. In this article, I’ll walk through how I applied, how I got shortlisted, what questions they asked, and some tips that can help you land an internship of your own.

Originally published on Medium.

How I applied for the internship

My friend was an NLP intern at this company. He told me good things about the culture—they didn’t put too much pressure on interns—so I got interested. He said they were looking for web development interns, had posted an ad on Internshala, and that I should apply. I was skeptical, but he insisted I at least apply and not self-reject. So finally I applied.

They needed a developer with knowledge of Node and MySQL. I knew Node well, but I had never worked with MySQL before. I knew SQL, but I had never used it in a project—I was more of a MongoDB person. So I decided to build my next project with MySQL. It took seven days: I started with the front end, then moved to the back end with MySQL, and used WebSockets so things updated in real time.

Node.js and MySQL logos side by side
The stack the role asked for—and the gap I closed before interviews.

Two weeks after I applied, they still hadn’t looked at my application. I assumed my resume and profile weren’t strong enough. So I rebuilt both, wrote a negative-persuasive introduction for interviews, and added the new project and skills to my resume.

Reaching out on LinkedIn

I searched for the company on LinkedIn, found the CEO, and sent a polite message saying I had applied and hadn’t received a response. He replied with a recruiter’s email address.

I wrote a careful cover letter, attached my resume, and sent it. About two hours later, I got a call—not an interview, just a check on my skills, experience, and projects. She said we could move forward: coding round the next day at 11 AM. She would send the question paper at 11; I had to answer everything in JavaScript and upload my answers to a shared OneDrive folder.

Screenshot of the cover letter email sent to the recruiter about a Node.js internship application
The follow-up email that led to the screening call.

That’s how I got my chance. Write well. I think the call came because the cover letter was appealing and the resume was clear.

Coding round

I’ll share the questions from the paper, but not the solutions—you’ll learn more by working through them yourself.

Question on strings

I had five stars in Problem Solving, JavaScript, and Python on HackerRank, so I had solved plenty of problems like this.

Write a function that takes a string as input and returns a count of each character in an object.

Input: "Smart Operations & Edge Computing Platform"

Output:

{
  S: 1, m: 3, a: 3, r: 3, t: 4, ' ': 5, O: 1, p: 2,
  e: 2, i: 2, o: 3, n: 2, s: 1, '&': 1, E: 1, d: 1,
  g: 2, C: 1, u: 1, P: 1, l: 1, f: 1
}
Screenshot of the string character-count coding question from the internship assessment

Question on object traversal

Fairly easy—nothing unusual.

Write a function that takes a city name as input and returns the state name(s) from the following data structure:

const obj = {
  India: {
    Karnataka: ['Bangalore', 'Mysore'],
    Maharashtra: ['Mumbai', 'Pune'],
  },
  USA: {
    Texas: ['Dallas', 'Houston'],
    IL: ['Chicago', 'Aurora', 'Pune'],
  },
}

Input: "Pune"

Output: ["IL", "Maharashtra"]

Screenshot of the nested object city-to-state traversal coding question

Making a GET request

I wrote a solution that was only half correct—the retry logic was wrong.

For Node.js / backend developers:

  1. Make a GET request to https://restcountries.eu/rest/v2/lang/es and store the response in a file.
  2. Add retry logic if the request fails. Use the async library or implement retries yourself.
  3. For the GET request, choose any approach you prefer.
Screenshot of the GET request with retry logic coding question for Node.js candidates

They gave me two hours. I finished in about thirty minutes and uploaded my answers. Three hours later, HR called: I had cleared the round, and a technical interview was scheduled for the next day at 1 PM.

Technical interview 1

This was a one-hour technical interview—and an hour-long interview is no joke. The interviewer covered JavaScript from asynchrony to the event loop. We talked through the wrong retry code from the coding round, and he corrected it. There were two or three CSS questions; everything else was JavaScript.

He also had me write code to find the maximum and second-maximum values in an array where numbers can repeat. For example, given [1, 2, 10, 19, 20, 20], the program should return 20 and 19.

Some more questions:

  • Explain the asynchronous nature of JavaScript.
  • What is the difference between vanilla JavaScript and Node.js?
  • Explain the event loop.
  • What is the difference between relatively and absolutely positioned elements?
  • What is the difference between display: inline and display: block?
  • What is a closure?

There were more general JavaScript questions after that. I answered them, so I knew I had cleared it.

Technical interview 2

This one was shorter—about twenty minutes—and more focused on the front end. The interviewer asked about my front-end projects and any work that used client-side rendering. I walked through a few and demoed one.

He asked if I knew any front-end frameworks. I said not yet, but that I would learn React soon (yes, React is a library—I still called it a framework in the moment). Then a few CSS questions, and he had me center a child inside a parent on JSFiddle. Overall it was short and straightforward.

Final interview

The CTO ran this round. Many questions overlapped with earlier interviews. He also asked why I should be hired and why I wanted the role—typical last-round questions. After a minute he said I got the job. We talked through stipend, joining date, working hours, and what I would work on.

Takeaways

Be polite. Be humble, but not needy. Have a strong resume and cover letter. Communicate clearly. Most important: know your subject well—without that, the rest doesn’t matter.

Thanks for reading.