---
title: "Discussion on \"1046. Last Stone Weight\" | Hashnode"
description: "Discussion on \"1046. Last Stone Weight\". An example of using std::priority_queue"
url: "https://hashnode.com/posts/1046-last-stone-weight/64058186024dffb6cd3793ce"
---

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

Discussion

# [1046\. Last Stone Weight](https://leetsolve.com/1046-last-stone-weight?utm_source=hashnode&utm_medium=feed)

An example of using std::priority\_queue

Mar 6, 2023 · 2 min read · leetsolve.com  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#learn-coding](https://hashnode.com/tag/learn-coding)
-   [#data-structures](https://hashnode.com/tag/data-structures)

## Written by

[Nhut Nguyen](https://hashnode.com/@nhutnguyen)

@nhutnguyen · Copenhagen, Denmark

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

Software developer and Writer

Hi! My name is Nhut Nguyen. I am a software engineer and a writer in Copenhagen, Denmark. Learn more about me at nhutnguyen.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
