Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 451. Sort Characters By Frequency to problems page #606

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

YonashPetit
Copy link

I'm adding the "451. Sort Characters By Frequency" Leetcode problem to the problems page (in English).

@azl397985856
Copy link
Owner

azl397985856 commented Nov 18, 2024

  1. filename should be problems/451.sort-characters-by-frequency.en.md
  2. change 'Summary of Key Operations:' to 'Key Points'
  3. remove ''' in the code section
  4. 'Map Hash Map from left to right, during traverse, group nodes in k, then reverse each group. How to reverse a linked list given start, end node?' I don't quite understand what did you say, could you please delete it or use a more clear way
  5. detail of 'bulding the Frequency Dictionary' is unnessary. delete it to keep it brief. (maybe you can try Counter,it's much more brief)
  6. complexity is wrong. it's O(biggest + n) for both time and space
  7. final step is 'adding the link in README.md and SUMMARY.md'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants