Skip to content

Commit e2e1729

Browse files
Restyled by whitespace
1 parent ec7d84f commit e2e1729

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

dsa-solutions/lc-solutions/0200-0299/0240-search-a-2d-matrix-ii.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ This approach ensures that we eliminate one row or one column in each step, lead
7777

7878
<Tabs>
7979
<tabItem value="Greedy Search" label="Greedy Search">
80-
80+
8181
### Approach: Greedy Search
8282

8383
By leveraging the sorted properties of the matrix, we can search for the target value efficiently using a greedy approach. This involves starting from the top-right corner and adjusting our search direction based on the current value.
@@ -178,7 +178,7 @@ return (
178178
```
179179

180180
</TabItem>
181-
<TabItem value="Python" label="Python">
181+
<TabItem value="Python" label="Python">
182182
<SolutionAuthor name="@aryansh-patel"/>
183183
```python
184184
def searchMatrix(matrix: List[List[int]], target: int) -> bool:
@@ -255,7 +255,7 @@ return (
255255
};
256256
```
257257

258-
</TabItem>
258+
</TabItem>
259259
</Tabs>
260260

261261
#### Complexity Analysis
@@ -325,7 +325,7 @@ This solution leverages the matrix's properties to reduce the search space effic
325325
params="autoplay=1&autohide=1&showinfo=0&rel=0"
326326
title="Search a 2D Matrix II Problem Explanation | Search a 2D Matrix II Solution"
327327
poster="maxresdefault"
328-
webp
328+
webp
329329
/>
330330
</TabItem>
331331

dsa-solutions/lc-solutions/0900-0999/0905-sort-array-by-parity.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Return any array that satisfies this condition.
2121

2222
### Example 1:
2323

24-
**Input:** `nums = [3, 1, 2, 4]`
25-
**Output:** `[2, 4, 3, 1]`
24+
**Input:** `nums = [3, 1, 2, 4]`
25+
**Output:** `[2, 4, 3, 1]`
2626
**Explanation:** The outputs `[4, 2, 3, 1]`, `[2, 4, 1, 3]`, and `[4, 2, 1, 3]` would also be accepted.
2727

2828
### Example 2:
2929

30-
**Input:** `nums = [0]`
30+
**Input:** `nums = [0]`
3131
**Output:** `[0]`
3232

3333
## Constraints

src/data/courses/index.tsx

+5-6
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ const courses = [
3131
imageUrl: "/img/svg/static_assets.svg",
3232
author: "Ajay Dhangar",
3333
link: "/docs/category/javascript"
34-
},
35-
34+
},
35+
3636
// React for beginners
37-
37+
3838
{
3939
id: 5,
4040
title: "React for Beginners",
@@ -46,7 +46,7 @@ const courses = [
4646
},
4747

4848
// angular for beginners
49-
49+
5050
// {
5151
// id: 6,
5252
// title: "Angular for Beginners",
@@ -351,6 +351,5 @@ const courses = [
351351
"link": "https://www.figma.com/resources/learn-design/"
352352
},
353353
];
354-
354+
355355
export default courses;
356-

src/pages/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default function Home() {
137137
</Heading>
138138
</div>
139139

140-
<Faq />
140+
<Faq />
141141

142142
<ScrollTopToButton />
143143
<ScrollBottomToTop />

0 commit comments

Comments
 (0)