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 — android_interview/algorithm/LeetCode/Array.md at master · LRH1993/android_interview

Expand file tree

/

Array.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
14 lines (9 loc) · 865 Bytes
/

Array.md

Copy path

File metadata and controls

14 lines (9 loc) · 865 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

一、数组

数组是较为简单的数据结构,它占据一块连续的内存,并按照顺序存储数据。数组需要事先知道容量大小,然后根据大小分配存储空间,所以数组的空间利用率不高。数组有很好的查找效率,能在O(1)内找到元素。所以我们可以基于数组实现简单的hash表,提高查找效率。

关于数组是面试中常考的一种数据结构,此类的相关题目相对简单,一般通过数字规律,指针,动态规划等方法来解决。

二、目录

  • Partition Array
  • Subarray Sum
  • Plus One
  • Palindrome Number
  • Two Sum
You are visitor 01402775 — 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.