Practice coding problems, test logic, and improve your problem-solving skills
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads the same forward and backward.
Given a string s, find the length of the longest substring without repeating characters.
Design a recursive cache invalidation scheme that maximizes amplification...
20 Questions • 30 Minutes
15 Questions • 20 Minutes
20 Questions • TCS PrepInsta Pattern
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.