Verified Commit 889a9ec8 authored by asahiocean's avatar asahiocean 🚀
Browse files


parents 6d243607 f7e9fa2a
## 16. 3Sum Closest
### [Gist with solution]( • [Open Problem]( • [Discuss](
<div id="buttons" class="buttons" align="left" style="vertical-align: middle; align-items: center;">
<!-- TO PROBLEM -->
<a href=""><img style="vspace="0"; hspace="0"; border="0";" src="" alt="To problem" width="128px" align="center"/></a>
<!-- DISCUSS -->
<a href=""><img style="vspace="0"; hspace="5"; border="0";" src="" alt="Leetcode Discuss" width="128px" align="center"/></a>
<!-- SOLUTION -->
<a href=""><img style="vspace="0" hspace="0" border="0";" src="" alt="Solution" width="128px" align="center"/></a>
### Description:
Given an array ```nums``` of **n** integers and an integer ```target```, find three integers in ```nums``` such that the sum is closest to ```target```. Return the sum of the three integers. You may assume that each input would have exactly one solution.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment