---
title: "Discussion on \"611. Valid Triangle Number\" | Hashnode"
description: "Discussion on \"611. Valid Triangle Number\". problem\n\nGiven an integer array nums, return the number of triplets chosen from the array that can make triangles if we take them as side lengths of a triangle.\n\nexample\nExample 1:\nInput: nums = [2,2,3,4]\nOutput: 3\nExplanation: Valid combinations are..."
url: "https://hashnode.com/posts/611-valid-triangle-number/610aa048b83e7c5625fdff36"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [611\. Valid Triangle Number](https://xiaok.me/611-valid-triangle-number?utm_source=hashnode&utm_medium=feed)

problem Given an integer array nums, return the number of triplets chosen from the array that can make triangles if we take them as side lengths of a triangle. example Example 1: Input: nums = \[2,2,3,4\] Output: 3 Explanation: Valid combinations are...

Aug 4, 2021 · 2 min read · xiaok.me  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)

## Written by

[xiao kun](https://hashnode.com/@shalk)

@shalk

  
[View profile](https://hashnode.com/@shalk)

coding your life

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
