Skip to content

Commit 592eb52

Browse files
committed
docs: README
1 parent f781d8b commit 592eb52

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

Help.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
5EAF0B81268C5F4300D92322 /* LaunchScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EAF0B80268C5F4300D92322 /* LaunchScreen.swift */; };
5858
5ED4FE63270920F700E3B850 /* License in Resources */ = {isa = PBXBuildFile; fileRef = 5ED4FE62270920F700E3B850 /* License */; };
5959
5EDBDABA279B5C5B006DF495 /* ContainerWithMostWater.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EDBDAB9279B5C5B006DF495 /* ContainerWithMostWater.swift */; };
60+
5EDBDABC279B5DFB006DF495 /* ContainerWithMostWater.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 5EDBDABB279B5DFB006DF495 /* ContainerWithMostWater.jpg */; };
6061
5EDE65CE26E29E0000DB71C0 /* SwipeScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EDE65CD26E29E0000DB71C0 /* SwipeScreen.swift */; };
6162
5EF5E01526F72FE40068A717 /* EnumDataModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EF5E01426F72FE40068A717 /* EnumDataModel.swift */; };
6263
/* End PBXBuildFile section */
@@ -114,6 +115,7 @@
114115
5EAF0B80268C5F4300D92322 /* LaunchScreen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LaunchScreen.swift; sourceTree = "<group>"; };
115116
5ED4FE62270920F700E3B850 /* License */ = {isa = PBXFileReference; lastKnownFileType = text; path = License; sourceTree = "<group>"; };
116117
5EDBDAB9279B5C5B006DF495 /* ContainerWithMostWater.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContainerWithMostWater.swift; sourceTree = "<group>"; };
118+
5EDBDABB279B5DFB006DF495 /* ContainerWithMostWater.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = ContainerWithMostWater.jpg; sourceTree = "<group>"; };
117119
5EDE65CD26E29E0000DB71C0 /* SwipeScreen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwipeScreen.swift; sourceTree = "<group>"; };
118120
5EF5E01426F72FE40068A717 /* EnumDataModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EnumDataModel.swift; sourceTree = "<group>"; };
119121
/* End PBXFileReference section */
@@ -173,6 +175,7 @@
173175
5E2CF7C3266E242E007BB2EB /* segue-002.png */,
174176
5E84F23A26FC424B00BA06D3 /* home-screen-quick-actions.jpeg */,
175177
5E709212278CA0BA0060FB31 /* PascalTriangleAnimated2.gif */,
178+
5EDBDABB279B5DFB006DF495 /* ContainerWithMostWater.jpg */,
176179
);
177180
path = Screenshots;
178181
sourceTree = "<group>";
@@ -366,6 +369,7 @@
366369
isa = PBXResourcesBuildPhase;
367370
buildActionMask = 2147483647;
368371
files = (
372+
5EDBDABC279B5DFB006DF495 /* ContainerWithMostWater.jpg in Resources */,
369373
5E2CF7C5266E242E007BB2EB /* segue-002.png in Resources */,
370374
5E83856F266767D600ACA770 /* .gitignore in Resources */,
371375
5E84F23B26FC424B00BA06D3 /* home-screen-quick-actions.jpeg in Resources */,

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,14 +1568,21 @@ func spiralOrder(_ matrix: [[Int]]) -> [Int] {
15681568

15691569
**Notice** that you may not slant the container.
15701570

1571+
```
15711572
**Example 1:**<br>
1573+
1574+
<img src="https://github.com/lgreydev/Help/blob/master/Screenshots/ContainerWithMostWater.jpg" width="350">
1575+
1576+
15721577
*Input:* `height = [1,8,6,2,5,4,8,3,7]` <br>
15731578
*Output:* `49` <br>
15741579
*Explanation:* The above vertical lines are represented by array [1,8,6,2,5,4,8,3,7]. In this case, the max area of water (blue section) the container can contain is 49.
15751580

15761581
**Example 2:**<br>
15771582
*Input:* `height = [1,1]`<br>
15781583
*Output:* `1`<br>
1584+
1585+
```
15791586

15801587
``` swift
15811588

17.9 KB
Loading

0 commit comments

Comments
 (0)