GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — LeetCode/Greedy/484.Find-Permutation at master · wisdompeak/LeetCode

Expand file tree

/

484.Find-Permutation

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

484.Find-Permutation

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
484.Find-Permutation.cpp
484.Find-Permutation.cpp
 
 
484.Find-Permutation.py
484.Find-Permutation.py
 
 
Readme.md
Readme.md
 
 

Readme.md

484.Find-Permutation

本题本质和2375.Construct-Smallest-Number-From-DI-String一模一样。

基本思想是将s的开头加上一个“I”,将s切分为若干"IDD..D"的pattern,每个pattern对应的是一段单调递减的序列。保证序列与序列之间不重合即可。

Leetcode Link

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.