Skip to content
/ leetcode Public
  • Sponsor doocs/leetcode

  • Notifications You must be signed in to change notification settings
  • Fork 9.1k
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit db6e8f1

Browse files
pranjal030404idoocs
authored andcommittedJun 3, 2025
style: format code and docs with prettier
1 parent 66176ea commit db6e8f1

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed
 

‎solution/0000-0099/0005.Longest Palindromic Substring/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,6 @@ char *longestPalindrome(char *s) {
576576

577577
```
578578
579-
580579
<!-- tabs:end -->
581580
582581
<!-- solution:end -->

‎solution/0000-0099/0005.Longest Palindromic Substring/README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ class Solution {
527527

528528
#### C
529529

530-
``` c
530+
```c
531531
char *longestPalindrome(char *s) {
532532
int n = strlen(s);
533533
if (n == 0) {

‎solution/0000-0099/0006.Zigzag Conversion/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ class Solution {
495495

496496
#### C
497497

498-
``` C
498+
```C
499499
char *convert(char *s, int numRows) {
500500
if (numRows == 1 || numRows >= strlen(s)) {
501501
char *result = malloc(strlen(s) + 1);

‎solution/0000-0099/0006.Zigzag Conversion/README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ class Solution {
491491
}
492492
```
493493

494-
####
494+
####
495495

496496
```c
497497
char *convert(char *s, int numRows) {

0 commit comments

Comments
 (0)
Please sign in to comment.