Commit Graph

20 Commits

Author SHA1 Message Date
Alexander Pantyukhin
bf94aff668
feat: add Determine if String Halves Are Alike LeetCode (#1168)
* add leetcode Determine if String Halves Are Alike

* fix variable  name

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-12-16 15:43:25 -06:00
Alexander Pantyukhin
1d07d142d0
feat: add Number of Ways to Split Array LeetCode (#1165)
Co-authored-by: David Leal <halfpacho@gmail.com>
2022-12-16 15:42:57 -06:00
Alexander Pantyukhin
8992d267ac
feat: add Longest Valid Parentheses LeetCode problem (#1166)
Co-authored-by: David Leal <halfpacho@gmail.com>
2022-12-16 15:37:54 -06:00
Alexander Pantyukhin
2ee92040f3
feat: add Maximum Erasure Value LeetCode problem (#1137)
* add leetcode Maximum Erasure Value

* Update 1695.c

add new line at the end

* Rename README.md to DIRECTORY.md

* chore: apply suggestions from code review

* Update DIRECTORY.md

* Update leetcode/DIRECTORY.md

Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2022-12-01 23:18:59 -06:00
Alexander Pantyukhin
b37bf7f6b9
feat: add Trim a Binary Search Tree LeetCode problem (#1156) 2022-12-01 23:11:58 -06:00
Alexander Pantyukhin
794ec129ae
feat: add Minimum Number of Operations to... (#1146)
...Move All Balls to Each Box LeetCode problem.

* add Minimum Number of Operations to Move All Balls to Each Box leetcode

* chore: apply suggestions from code review

* Update leetcode/src/1769.c

Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2022-12-01 23:03:24 -06:00
Alexander Pantyukhin
bb11a35227
feat: add Maximize the Confusion LeetCode problem (#1150)
* add Maximize the Confusion of an Exam leetcode

* Update leetcode/src/2024.c

Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>

* Update 2024.c

fix build

Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2022-12-01 22:55:36 -06:00
Alexander Pantyukhin
435b4994ce
feat: add Validate Binary Search Tree (#1153)
* add Validate Binary Search Tree

* improve condition
2022-11-25 18:54:41 -06:00
Alexander Pantyukhin
defd82dda1
feat: add Minimum Deletions LeetCode problem (#1138)
* add Minimum Deletions to Make String Balanced

* Update 1653.c

add new line at the end

* Rename README.md to DIRECTORY.md

* chore: apply suggestions from code review

* Update leetcode/src/1653.c

Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>

* Update leetcode/src/1653.c

Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>

* Update leetcode/src/1653.c

Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>

* Update 1653.c

remove redundant define

* Update leetcode/src/1653.c

Co-authored-by: John Law <johnlaw.po@gmail.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
Co-authored-by: John Law <johnlaw.po@gmail.com>
2022-11-25 17:38:33 -06:00
Alexander Pantyukhin
8d28f1d36f
feat: add Online Stock Span (#1142)
* add Online Stock Span

* free obj

* Update leetcode/src/901.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Rename README.md to DIRECTORY.md

* merge conflicts

* chore: apply suggestions from code review

* chore: apply suggestions from code review

* Update leetcode/src/901.c

Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2022-11-25 12:57:19 -06:00
Alexander Pantyukhin
077517d6ae
feat: add Sum of Even Numbers LeetCode problem (#1145)
* add Sum of Even Numbers After Queries leetcode task

* chore: apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-11-25 12:35:54 -06:00
Alexander Pantyukhin
99f06e97e7
feat: add Minimum Path Cost LeetCode problem (#1144) 2022-11-24 23:14:53 -06:00
Alexander Pantyukhin
7aba094afb
feat: add trapping rain water (#1132)
* add trapping rain water.

* add short description of algorithm

* substitute min/max with define

* fix directory DIRECTORY.md

* chore: apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-11-24 23:14:01 -06:00
Alexander Pantyukhin
a2b1983e57
feat: add Rectangle Area LeetCode problem (#1147) 2022-11-21 15:09:27 -06:00
Alexander Pantyukhin
ea775e7a04
feat: add Number of Sub-arrays With Odd Sum (#1139)
* add Number of Sub-arrays With Odd Sum

* Update 1524.c

add new line at the end

* Rename README.md to DIRECTORY.md

* chore: apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-11-18 14:09:11 -06:00
Alexander Pantyukhin
dee9ac73cd
feat: add Check if Array Is Sorted and Rotated (#1141)
* add Check if Array Is Sorted and Rotated

* Update 1752.c

add new line

* Rename README.md to DIRECTORY.md

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-11-18 14:02:59 -06:00
Alexander Pantyukhin
856168384d
feat: add compliment of 10 integer (#1136)
* add complinent of 10  integer

* Update 1009.c

add new line at the end

* Rename README.md to DIRECTORY.md

change filename

* chore: apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-11-15 18:27:22 -06:00
devarshitrivedi01
55b2045b19
chore: add Max Consecutive Ones in LeetCode folder (#982)
* Create 14.c

* Update README.md

* Update leetcode/src/14.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update DIRECTORY.md

* Update DIRECTORY.md

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-11-14 12:47:23 -06:00
Yashvardhan Singh
68bdbfb0a5
feat: add LeetCode problem 10 (#1033)
* updated readme

* Create 10.c

* Update README.md

* added documentation

* chore: apply suggestions from code review

* Update DIRECTORY.md

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-11-09 19:24:15 -06:00
David Leal
9101ccd27c
docs: add a guide for new LeetCode solutions (#1131)
* docs: add a guide for new LeetCode solutions

* updating DIRECTORY.md

* updating DIRECTORY.md

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2022-11-09 19:21:17 -06:00