Skip to content

feat: add solutions for lc No.3831#5009

Merged
yanglbme merged 2 commits intomainfrom
dev
Feb 3, 2026
Merged

feat: add solutions for lc No.3831#5009
yanglbme merged 2 commits intomainfrom
dev

Conversation

@yanglbme
Copy link
Member

@yanglbme yanglbme commented Feb 3, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 3, 2026 00:33
@idoocs idoocs added core team Issues or pull requests from core team cpp Issues or Pull requests relate to .cpp code go Issues or Pull requests relate to .go code java Issues or Pull requests relate to .java code json Issues or Pull requests relate to .json files md Issues or Pull requests relate to .md files png Issues or Pull requests relate to .png files py Issues or Pull requests relate to .py code ts Issues or Pull requests relate to .ts code labels Feb 3, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

Images automagically compressed by Calibre's image-actions

Compression reduced images by 86.5%, saving 65.6 KB.

Filename Before After Improvement Visual comparison
solution/3800-3899/3831.Median of a Binary Search Tree Level/images/screenshot-2026-01-27-at-20801pm.png 53.1 KB 6.8 KB 87.2% View diff
solution/3800-3899/3831.Median of a Binary Search Tree Level/images/screenshot-2026-01-27-at-20926pm.png 22.8 KB 3.5 KB 84.6% View diff

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds LeetCode problem 3831 "Median of a Binary Search Tree Level" to the solution index files. The problem is a locked (premium) medium-difficulty problem.

Changes:

  • Added problem 3831 entry to the English solution index
  • Added problem 3831 entry to the Chinese solution index
  • Minor formatting adjustment to a comment line in the main README

Reviewed changes

Copilot reviewed 10 out of 14 changed files in this pull request and generated 1 comment.

File Description
solution/README_EN.md Added entry for problem 3831 at line 3842 with correct formatting, link, and metadata (Medium difficulty, locked problem)
solution/README.md Added entry for problem 3831 at line 3844 using English title (consistent with locked problems without Chinese translation)
README.md Added line number prefix to a comment line (unrelated formatting change)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- [位 1 的个数](/solution/0100-0199/0191.Number%20of%201%20Bits/README.md) - `位运算`、`lowbit`
- [合并区间](/solution/0000-0099/0056.Merge%20Intervals/README.md) - `区间合并`
<!-- 排序算法、待补充 -->
<!-- 排序算法、待补充 -->
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change appears to be unrelated to adding solutions for LeetCode problem 3831. The modification only adds a line number prefix to a comment line, which seems to be a formatting adjustment rather than a functional change. This type of incidental formatting change should ideally be in a separate commit or PR to keep the changes focused and clear.

Suggested change
<!-- 排序算法、待补充 -->

Copilot uses AI. Check for mistakes.
@yanglbme yanglbme merged commit a2c0c66 into main Feb 3, 2026
@yanglbme yanglbme deleted the dev branch February 3, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core team Issues or pull requests from core team cpp Issues or Pull requests relate to .cpp code go Issues or Pull requests relate to .go code java Issues or Pull requests relate to .java code json Issues or Pull requests relate to .json files md Issues or Pull requests relate to .md files png Issues or Pull requests relate to .png files py Issues or Pull requests relate to .py code ts Issues or Pull requests relate to .ts code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants