# Start to Do Leetcode on Week 3
---
### Week 3,4 - 10 Quest Morning + 15 Quest Afternoon
---
:::spoiler Day 11 - 4/12/2023
## Day11 - Morning Lab
|4/12|Question|
|-|-|
==Suggested== |1323 Maximum 69 Number
## Day11 - Afternoon Lab
:::success
JavaQuest17 - minimum35Number ( modify of 1323. Maximum 69 Number)
JavaQuest18 - 2108. Find First Palindromic String in the Array
:::
---
:::spoiler Day 12 - 5/12/2023
## Day12 - Morning Lab
|5/12|Question|
|-|-|
==Finished== |2000. Reverse Prefix of Word
|- |942. DI String Match
## Day12 - Afternoon Lab
:::success
JavaQuest19 - Not Leetcode : Declare instance variables carYear and carModel
JavaQuest20 - 796. Rotate String
:::
---
:::spoiler Day 13 - 6/12/2023
## Day13 - Morning Lab
|6/12|Question|
|-|-|
|1859. Sorting the Sentence
|485. Max Consecutive Ones
## Day13 - Afternoon Lab
:::success
JavaQuest21 - 1952. Three Divisors
JavaQuest22 - 1281. Subtract the Product and Sum of Digits of an Integer
:::
---
:::spoiler Day 14 - 7/12/2023
## Day14 - Morning Lab
|7/12|Question|
|-|-|
|1768. Merge Strings Alternately
|2697. Lexicographically Smallest Palindrome
## Day14 - Afternoon Lab
:::success
JavaQuest23 - 1704. Determine if String Halves Are Alike
JavaQuest24 - 2006. Count Number of Pairs With Absolute Difference K
:::
---
:::spoiler Day 15 - 8/12/2023
## Day15 - Morning Lab
|8/12|Question|
|-|-|
|2185. Counting Words With a Given Prefix
|1941. Check if All Characters Have Equal Number of Occurrences
## Day15 - Afternoon Lab
:::success
JavaQuest25 - 434. Number of Segments in a String
JavaQuest26 - 1844. Replace All Digits with Characters
:::
---
:::spoiler Day 16 - 11/12/2023
## Day16 - Morning Lab
|11/12|Question|
|-|-|
|2351. First Letter to Appear Twice
## Day16 - Afternoon Lab
:::success
JavaQuest27 - 367. Valid Perfect Square
JavaQuest28 -1967. Number of Strings That Appear as Substrings in Word
:::
---
:::spoiler Day 17
## Day17 - Morning Lab
|1/8|Question|
|-|-|
==Finished== |121. Best Time to Buy and Sell Stock
## Day17 - Afternoon
:::success
JavaQuest29 - 1556. Thousand Separator
JavaQuest30 - 2520. Count the Digits That Divide a Number
:::
---
:::spoiler Day 18
## Day18 - Morning Lab
|2/8|Question|
|-|-|
== | 1417. Reformat The String
== | 566. Reshape the Matrix
==Finished== | 1588. Sum of All Odd Length Subarrays
## Day18 - Afternoon Lab
:::success
JavaQuest31 - 2716. Minimize String Length
JavaQuest32 - 1470. Shuffle the Array
:::
---
:::spoiler Day 19
## Day19 - Morning Lab
|3/8|Question|
|-|-|
==Finished== | 2347. Best Poker Hand
== |2022. Convert 1D Array Into 2D Array
== |2605. Form Smallest Number From Two Digit Arrays
## Day19 - Afternoon Lab
:::success
JavaQuest33 - 905. Sort Array By Parity
JavaQuest34 - 1662. Check If Two String Arrays are
:::
---
:::spoiler Day 20
## Day20 - Morning Lab
|4/8|Question|
|-|-|
==Finished== |771. Jewels and Stones
## Day20 - Afternoon Lab
:::success
JavaQuest35 - 283. Move Zeroes
JavaQuest36 - 561. Array Partition
:::
---
:::spoiler Day 21
## Day21 - Morning Lab
|7/8|Skip Leetcode|
|-|-|
## Day21 - Afternoon Lab
:::success
JavaQuest37 | 389. Find the Difference
JavaQuest38 | 1929. Concatenation of Array
:::
---
:::spoiler Day 22
## Day22 - Morning Lab
|8/8|Question|
|-|-|
|==Finished==|202. Happy Number|
## Day22 - Afternoon Lab
:::success
JavaQuest39 | 2810. Faulty Keyboard
JavaQuest40 | 2733. Neither Minimum nor Maximum
:::
---
:::spoiler Day 23
## Day23 - Morning Lab
|9/8|Question|
|-|-|
|==Finished==|2073. Time Needed to Buy Tickets|
## Day23 - Afternoon Lab
:::success
JavaQuest41 | 2427. Number of Common Factors
JavaQuest42 | 1672. Richest Customer Wealth
:::
---
:::spoiler Day 24
## Day24 AWS Day - 10/8/2023
:::success
JavaQuest43 | 1791. Find Center of Star Graph
JavaQuest44 | 2535. Difference Between Element Sum and Digit Sum of an Arraya
:::
---
:::spoiler Day 25
## Day25 - Morning Lab
|11/8|Question|
|-|-|
|==Finished==|876. Middle of the Linked List|
## Day25 - Afternoon Lab
:::success
JavaQuest45 | 844. Backspace String Compare
JavaQuest46 | 1979. Find Greatest Common Divisor of Array
:::
---
:::spoiler Day 26
## Day 26 - Morning Lab
|14/8|Question|
|-|-|
|==|2500. Delete Greatest Value in Each Row|
## Day 26 - Afternoon Lab
:::success
JavaQuest47 | 387. First Unique Character in a String
JavaQuest48 | 20. Valid Parentheses
:::
---
:::spoiler Day 27
## Day 27 - Morning Lab
|15/8|Question|
|-|-|
|==Finished==|557. Reverse Words in a String III (Stack)|
|==|232. Implement Queue using Stacks (Queue) |
## Day 27 - Afternoon Lab
:::success
JavaQuest49 | 1979. Find Greatest Common Divisor of Array
JavaQuest50 | 2578. Split With Minimum Sum
:::
---
:::spoiler Day 28
## Day 28 - Morning Lab
|16/8|Question|
|-|-|
|==Finished==| 2395. Find Subarrays With Equal Sum (Set)|
|==|13. Roman to Integer|
## Day 28 - Afternoon Lab
:::success
JavaQuest51 | 830. Positions of Large Groups
JavaQuest52 | 342. Power of Fourps
:::
---
:::spoiler Day 29
## Day 29 - Morning Lab
|17/8|Question|
|-|-|
|==Finished==|1700. Number of Students Unable to Eat Lunch|
## Day 29 - Afternoon Lab
:::success
JavaQuest53 |1464. Maximum Product of Two Elements in an Array
JavaQuest54 | 2032. Two Out of Three
:::
---
:::spoiler Day 30
## Day 30 - Morning Lab
|18/8|Question|
|-|-|
|==Finished==|1436. Destination City |
## Day 30 - Afternoon Lab
:::success
JavaQuest55 | 2206. Divide Array Into Equal Pairs
JavaQuest56 | 2341. Maximum Number of Pairs in Array
:::
---
:::spoiler Day 31
## Day 31 - Morning Lab
|21/8|Question|
|-|-|
|==Finished==| 225. Implement Stack using Queues|
## Day 31 - Afternoon Lab
:::success
JavaQuest57 | 2696. Minimum String Length After Removing Substrings
JavaQuest58 | 1837. Sum of Digits in Base K
:::
---
:::spoiler Day 32
## Day 32 - Morning Lab
|22/8|Question|
|-|-|
|==Finished==| 832. Flipping an Image|
|==Finished==| 1046. Last Stone Weight|
## Day 32 - Afternoon Lab
:::success
SQL: 1757, 627, 595, 584, 1693, 197
:::
---
:::spoiler Day 33
## Day 33 - Morning Lab
|23/8|Question|
|-|-|
|==Finished==|1518. Water Bottles
|==Finished==|1103. Distribute Candies to People
## Day 33 - Afternoon Lab
:::success
SQL: 1890, 1484, 1587, 1527, 197, 1103, 1518, 595
:::
---
:::spoiler Day 34
## Day 34 - Morning Lab
|24/8|Question|
|-|-|
|| 1614. Maximum Nesting Depth of the Parentheses|
|==Finished==| 1748. Sum of Unique Elements|
|==Finished==|1837. Sum of Digits in Base K|
## Day 34 - Afternoon Lab
SKIP
:::
---
:::spoiler Day 35
## Day 35 - Morning Lab
|25/8|Question|
|-|-|
|| 2325. Decode the Message|
||844. Backspace String Compare|
|==Finished==|2399. Check Distances Between Same Letters
## Day 35 - Afternoon Lab
:::
---
:::spoiler Day 36
## Day 36 - Morning Lab
|28/8|Question|
|-|-|
|==Finished==|367. Valid Perfect Square
|==Finished==|2465. Number of Distinct Averages
:::
---
:::spoiler Day 37
## Day 37 - Morning Lab
|29/8|Question|
|-|-|
|==Finished==|2085. Count Common Words With One Occurrence
|==Finished==|2717. Semi-Ordered Permutation
|| 1512. Number of Good Pairs
|| 13. Roman to Integer
:::
---
:::spoiler Day 38
## Day 38 - Morning Lab
|30/8|Question|
|-|-|
|| 804. Unique Morse Code Words
|| 2085. Count Common Words With One Occurrence
|==FInished==|1217. Minimum Cost to Move Chips to The Same Position
|==Finished==| 1812. Determine Color of a Chessboard Square
|==Finished==|2824. Count Pairs Whose Sum is Less than Target
:::
---
:::spoiler Day 39
## Day 39 - Morning Lab
|31/8|Question|
|-|-|
||933. Number of Recent Calls
||326. Power of Three
|==FInished==|1189. Maximum Number of Balloons
|==FInished==|908. Smallest Range I
## Day 39 -- Afternoon Lab
:::success
SQL : 1148, 908, 1393, 175, 176, 608, 1193
:::
---
:::spoiler Day 40
## Day 40 - Morning Lab
|1/9|Question|
|-|-|
||1700. Number of Students Unable to Eat Lunch
||1342. Number of Steps to Reduce a Number to Zero
|==Finsished==|2815. Max Pair Sum in an Array
:::
---
:::spoiler Day 41
## Day 41 - Morning Lab
|4/9|Question|
|-|-|
|==Finished==|1539. Kth Missing Positive Number
|==Finished==| 2176. Count Equal and Divisible Pairs in an Array
:::
---
:::spoiler Day 42
## Day 42 - Morning Lab
|5/9|Question|
|-|-|
|==Finished==|2418. Sort the People
||2843. Count Symmetric Integers
||2828. Check if a String Is an Acronym of Words
:::
---
:::spoiler Day 43
## Day 43 - Morning Lab
|6/9|Question|
|-|-|
|==Finished==|387. First Unique Character in a String
:::
---
:::spoiler Day 44
## Day 44 - Morning Lab
|7/9|Question|
|-|-|
|==Finished==|2367. Number of Arithmetic Triplets
:::
---
:::spoiler Day 45
## Day 45 - Morning Lab
|8/9|Question|
|-|-|
||2729. Check if The Number is Fascinating
||2190. Most Frequent Number Following Key In an Array
||1945. Sum of Digits of String After Convert
||2496. Maximum Value of a String in an Array
|==Finished==|2733. Neither Minimum nor Maximum
|==Finished==|2331. Evaluate Boolean Binary Tree
:::
---
:::spoiler Day 46 Career Day
## Day 46 - Morning Lab
|11/9|Career Day
|-|-|
:::
---
:::spoiler Day 47
## Day 47 - Morning Lab
|12/9|Question|
|-|-|
|==Finished==|2373. Largest Local Values in a Matrix
||2506. Count Pairs Of Similar Strings
||2511. Maximum Enemy Forts That Can Be Captured
||2843. Count Symmetric Integers
||1678. Goal Parser Interpretation
||2525. Categorize Box According to Criteria
:::
---
:::spoiler Day 48
## Day 48 - Morning Lab
|13/9|Question|
|-|-|
||1827. Minimum Operations to Make the Array Increasing
||2710. Remove Trailing Zeros From a String
||2011. Final Value of Variable After Performing Operations
||2160. Minimum Sum of Four Digit Number After Splitting Digits
:::
---
:::spoiler Day 49
## Day 49 - Morning Lab
|14/9|Question|
|-|-|
|==Finished==|2357. Make Array Zero by Subtracting Equal Amounts
||2578. Split With Minimum Sum
||2544. Alternating Digit Sum
||1925. Count Square Sum Triples
:::
---
:::spoiler Day 50
## Day 50 - Morning Lab
|15/9|Question|
|-|-|
|==Finished==|2744. Find Maximum Number of String Pairs
:::
---
:::spoiler Day 51
## Day 51 - Morning Lab
|18/9|Question|
|-|-|
|||
:::
---
1. - [ ] 2942. Find Words Containing Character
1. - [ ] 2951. Find the Peaks
1. - [ ] 682. Baseball Game
1. - [ ] 2373. Largest Local Values in a Matrix
2. - [ ] 2848. Points That Intersect With Cars
3. - [ ] 456. 132 Pattern
4. - [ ] 728. Self Dividing Numbers
5. - [ ] 202. Happy Number
6. - [ ] 263. Ugly Number
7. - [ ] 373. Find K Pairs with Smallest Sums
8. - [ ] 2220. Minimum Bit Flips to Convert Number
9. - [ ] 1773. Count Items Matching a
10. - [ ] 1281. Subtract the Product and Sum of Digits of an
11. - [ ] 2652. Sum Multiples
12. - [ ] 1688. Count of Matches in Tournament
13. - [ ] 2119. A Number After a Double Reversal
14. - [ ] 2180. Count Integers With Even Digit Sum
15. - [ ] 1822. Sign of the Product of an Array
16. - [ ] 28. Find the Index of the First Occurrence in a String
17. - [ ] 2455. Average Value of Even Numbers That Are Divisible by Three
18. - [ ] 1732. Find the Highest Altitude
19. - [ ] 2037. Minimum Number of Moves to Seat Everyone
1. - [ ] 1539. Kth Missing Positive Number
1. - [ ] 412. Fizz Buzz
1. - [ ] 1800. Maximum Ascending Subarray Sum
1. - [ ] 1967. Number of Strings That Appear as Substrings in Word
1. - [ ] 2485. Find the Pivot
1. - [ ] 1832. Check if the Sentence Is Pangram
2. - [ ] 2717. Semi-Ordered Permutation
3. - [ ] 1742. Maximum Number of Balls in a Box
1. - [ ] 1528. Shuffle String
2. - [ ] 744. Find Smallest Letter Greater Than Target
1. - [ ] 771. Jewels and Stones
1. - [ ] 2114. Maximum Number of Words Found in Sentences
1. - [ ] 1773. Count Items Matching a Rule
1. - [ ] 2325. Decode the Message
1. - [ ] 119. Pascal's Triangle II
1. - [ ] 12. Integer to Roman
1. - [ ] 27. Remove Element
3. - [ ] 1920. Build Array from Permutation
4. - [ ] 1295. Find Numbers with Even Number of Digits|
5. - [ ] 704. Binary Search|
6. - [ ] 2500. Delete Greatest Value in Each Row
7. - [ ] 2309. Greatest English Letter in Upper and Lower Case (ASCII code)
### Medium :
34. - [ ] 34.
35. - [ ] 122. Best Time to Buy and Sell Stock II
36. - [ ] 55. Jump Game
37. - [ ] 153. Find Minimum in Rotated Sorted Array
38. - [ ] 45. Jump Game II
39. - [ ] 2125. Number of Laser Beams in a Bank
40. - [ ] 1282. Group the People Given the Group Size They Belong To
41. - [ ] 2103. Rings and Rods
## WarmUp Question
1. - [ ] 2235. Add Two Integers
2. - [ ] 709. To Lower Case
3. - [ ] 2413. Smallest Even Multiple
4. - [ ] 1108. Defanging an IP Address
5. - [ ] 2124. Check if All A's Appears Before All B's
## JavaQuest
|Question No.|LeetCode Question|
|-|-|
JavaQuest1 | ==Not Leetcode== Primitive types and operators
JavaQuest2 | ==Not Leetcode== Primitive types and operators
JavaQuest3 | ==Not Leetcode== if-else + switch to calculate Month
JavaQuest4 | ==Not Leetcode== for-loop : Print 10 numbers: even , > 0, divisible by 3
JavaQuest5 | ==Not Leetcode== for-loop + charAt() count 'c' and 'z'
JavaQuest6 | ==Not Leetcode== for loop to print first 15 numbers in Fibonacci Sequence
JavaQuest7 | ==Not Leetcode== Sum values of an array is 55
JavaQuest8 | ==Not Leetcode== find the second Max in an Array
JavaQuest9 | ==Not Leetcode== Stirng method : indexOf() , trim(),replace(),length(),subString(),
JavaQuest10 | ==Not Leetcode== Insert an elements into a specific position of the array
JavaQuest11 | 2651. Calculate Delayed Arrival Time
JavaQuest12 | 1. Two Sum
JavaQuest13 | 2469. Convert the Temperature
JavaQuest14 | 9. Palindrome Number
JavaQuest15 | 2278. Percentage of Letter in String
JavaQuest16 | 1304.Find N Unique Integers Sum up to Zero
JavaQuest17 | 1323. Maximum 69 Number( modify to minimum35Number )
JavaQuest18 | 2108. Find First Palindromic String in the Array
JavaQuest19 | ==Not Leetcode== Declare instance variables carYear and carModel
JavaQuest20 | 796. Rotate String
JavaQuest21 | 1952. Three Divisors
JavaQuest22 | 1281. Subtract the Product and Sum of Digits of an Integer
JavaQuest23 | 1704. Determine if String Halves Are Alike
JavaQuest24 | 2006. Count Number of Pairs With Absolute Difference K
JavaQuest25 | 434. Number of Segments in a String
JavaQuest26 | 1844. Replace All Digits with Characters
JavaQuest27 | 367. Valid Perfect Square
JavaQuest28 | 1967. Number of Strings That Appear as Substrings in Word
JavaQuest29 | 1556. Thousand Separator
JavaQuest30 | 2520. Count the Digits That Divide a Number
JavaQuest31 | 2716. Minimize String Length
JavaQuest32 | 1470. Shuffle the Array
JavaQuest33 | 905. Sort Array By Parity
JavaQuest34 | 1662. Check If Two String Arrays are Equivalent
JavaQuest35 | 283. Move Zeroes
JavaQuest36 | 561. Array Partition
JavaQuest37 | 389. Find the Difference
JavaQuest38 | 1929. Concatenation of Array
JavaQuest39 | 2810. Faulty Keyboard
JavaQuest40 | 2733. Neither Minimum nor Maximum
JavaQuest41 | 2427. Number of Common Factors
JavaQuest42 | 1672. Richest Customer Wealth
JavaQuest43 | 1791. Find Center of Star Graph
JavaQuest44 | 2535. Difference Between Element Sum and Digit Sum of an Arraya
JavaQuest45 | 844. Backspace String Compare
JavaQuest46 | 1979. Find Greatest Common Divisor of Array
JavaQuest47 | 387. First Unique Character in a String
JavaQuest48 | 20. Valid Parentheses
JavaQuest49 | 1351. Count Negative Numbers in a Sorted Matrix
JavaQuest50 | 2578. Split With Minimum Sum
JavaQuest51 | 830. Positions of Large Groups
JavaQuest52 | 342. Power of Fourps
JavaQuest53 |1464. Maximum Product of Two Elements in an Array
JavaQuest54 | 2032. Two Out of Three
JavaQuest55 | 2206. Divide Array Into Equal Pairs
JavaQuest56 | 2341. Maximum Number of Pairs in Array
JavaQuest57 | 2696. Minimum String Length After Removing Substrings
JavaQuest58 | 1837. Sum of Digits in Base K