seo: add social image

This commit is contained in:
Yangshun Tay
2022-05-11 10:18:34 +08:00
parent 5e137e236d
commit 75c75293b1
70 changed files with 138 additions and 0 deletions

View File

@ -15,6 +15,10 @@ sidebar_label: Array
toc_max_heading_level: 2
---
<head>
<meta property="og:image" content="https://www.techinterviewhandbook.org/social/algorithms/algorithms/algorithms-array.png" />
</head>
## Introduction
Arrays hold values of the same type at contiguous memory locations. In an array, we're usually concerned about two things - the position/index of an element and the element itself. Different programming languages implement arrays under the hood differently and can affect the time complexity of operations you make to the array. In some languages like Python, JavaScript, Ruby, PHP, the array (or list in Python) size is dynamic and you do not need to have a size defined beforehand when creating the array. As a result, people usually have an easier time using these languages for interviews.