#coding-challenge
Read more stories on Hashnode
Articles with this tag
Problem statement Given an integer array arr, and an integer target, return the number of tuples i, j, k such that i < j < k and arr[i] + arr[j] +...
Problem statement 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...
Problem statement Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index...
Problem statement Write an efficient algorithm that searches for a value target in an m x n integer matrix matrix. This matrix has the following...
Problem statement There is an integer array nums sorted in non-decreasing order (not necessarily with distinct values). Before being passed to your...
Problem statement You are given an m x n binary matrix mat of 1's (representing soldiers) and 0's (representing civilians). The soldiers are...