---
title: "Discussion on \"217. Contain Duplicate\" | Hashnode"
description: "Discussion on \"217. Contain Duplicate\". LeetCode's Contains Duplicate problem checks if there are any duplicate elements in a given array, often solved using hash sets or sorting."
url: "https://hashnode.com/posts/217-contain-duplicate/6641d1d4e92829986f023113"
---

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

Discussion

# [217\. Contain Duplicate](https://blog.debjotyms.com/217-contain-duplicate?utm_source=hashnode&utm_medium=feed)

LeetCode's Contains Duplicate problem checks if there are any duplicate elements in a given array, often solved using hash sets or sorting.

May 13, 2024 · 1 min read · blog.debjotyms.com  
Updated May 15, 2024  
Read the article

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

## Written by

[Debjoty Mitra](https://hashnode.com/@debjotyms)

@debjotyms · Dhaka, Bangladesh

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

Machine Learning Enthusiast

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
