Member-only story
Prepare For A Coding Tech Interview Part 1
Do you want to get a job as a coder / software developer or switch to other company? In this series I’ll share information how to solve coding tasks, how to prepare CV and answers to the most popular interview questions for coding positions to land a new coding job!
Hi! My name is Tom Smykowski. I’ve interviewed hundreds of people and also participated in hundreds of interviews to choose companies I worked for. This gives me an insight into how to win a tech interview
Today let’s talk about basic programming questions. You can of course ask AI to solve them, but you’ll get ready solution. So I’ll focus only how to solve these tasks, and you can implement them in any language you want. You may stumble upon these tasks even if it’s completely unrelated to the role you’re applying. But in this article we’ll focus only on how to solve them:
1. Reverse a String
Question: Write a function that reverses a given string.
Example Input: "hello"
Example Output: "olleh"
To solve this task you have to know that a string like “hello” is an array of characters you can reference by index, that is position of the character in the string. When you know that, you can use a loop (for) to iterate over the letters. You can…