Nhut Nguyen
Nhut Nguyen

Nhut Nguyen

Follow
homeTech ResumeStoreAboutLeetSolvenewsletter
Tag

coding challenge

#coding-challenge

More content

Read more stories on Hashnode


Articles with this tag

How to solve Leetcode 923. 3Sum With Multiplicity

Apr 6, 20223 min read 46 views

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] +...

How to solve Leetcode 923. 3Sum With Multiplicity

A Solution to Leetcode 344. Reverse String

Apr 1, 20221 min read 74 views

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...

A Solution to Leetcode 344. Reverse String

Solutions to Leetcode 35. Search Insert Position

Mar 31, 20222 min read 44 views

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...

Solutions to Leetcode 35. Search Insert Position

A Solution to Leetcod 74. Search a 2D Matrix

Mar 30, 20222 min read 38 views

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...

A Solution to Leetcod 74. Search a 2D Matrix

Solutions to Leetcode 81. Search in Rotated Sorted Array II

Mar 29, 20224 min read 52 views

Problem statement There is an integer array nums sorted in non-decreasing order (not necessarily with distinct values). Before being passed to your...

Solutions to Leetcode 81. Search in Rotated Sorted Array II

Solutions to Leetcode 1337. The K Weakest Rows in a Matrix

Mar 27, 20225 min read 130 views

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...

Solutions to Leetcode 1337. The K Weakest Rows in a Matrix