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 — [js] 第689天 写一个方法删除数组中重复的项 · Issue #3645 · haizlin/fe-interview

[js] 第689天 写一个方法删除数组中重复的项 #3645

New issue
Copy link
New issue
Copy link
Open
Open
[js] 第689天 写一个方法删除数组中重复的项#3645
Copy link
Labels
jsJavaScript

Description

@haizhilin2013
haizhilin2013
opened on Mar 4, 2021
Issue body actions

第689天 写一个方法删除数组中重复的项

#3183

3+1官网

我也要出题

Activity

  1. haizhilin2013
    added
    jsJavaScript
    on Mar 4, 2021
  2. azl397985856 commented on Mar 5, 2021

    @azl397985856
    azl397985856
    on Mar 5, 2021
    More actions
    1. 排序(如果序列是无序的话) + 读写双指针
    2. 使用 set
    Reacted by lucifer
    Reacted by lucifer
  3. lookguy commented on Mar 5, 2021

    @lookguy
    lookguy
    on Mar 5, 2021
    More actions

    Set -> Array.from 简单的基本值。
    Object.keys(var obj = {[array[index]]:''})
    其他不会了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    jsJavaScript

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      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.