Problems

Sharpen your skills by solving coding problems.

Easy
String

Write a function that reverses a string. The input string is given as an array of characters s. You must do this by modifying the input array in-place with O(1) extra memory.

1000ms
💾
128MB
Easy
Array

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order.

1000ms
💾
128MB
Easy
Introduction

Write a program that prints "Hello, World!" to the console.

1000ms
💾
128MB