Try   HackMD

Start to Do Leetcode on Week 3


Week 3,4 - 10 Quest Morning + 15 Quest Afternoon


Day 11 - 4/12/2023

Day11 - Morning Lab

4/12 Question
Suggested 1323 Maximum 69 Number

Day11 - Afternoon Lab

JavaQuest17 - minimum35Number ( modify of 1323. Maximum 69 Number)
JavaQuest18 - 2108. Find First Palindromic String in the Array


Day 12 - 5/12/2023

Day12 - Morning Lab

5/12 Question
Finished 2000. Reverse Prefix of Word
- 942. DI String Match

Day12 - Afternoon Lab

JavaQuest19 - Not Leetcode : Declare instance variables carYear and carModel
JavaQuest20 - 796. Rotate String


Day 13 - 6/12/2023

Day13 - Morning Lab

6/12 Question
1859. Sorting the Sentence
485. Max Consecutive Ones

Day13 - Afternoon Lab

JavaQuest21 - 1952. Three Divisors
JavaQuest22 - 1281. Subtract the Product and Sum of Digits of an Integer


Day 14 - 7/12/2023

Day14 - Morning Lab

7/12 Question
1768. Merge Strings Alternately
2697. Lexicographically Smallest Palindrome

Day14 - Afternoon Lab

JavaQuest23 - 1704. Determine if String Halves Are Alike
JavaQuest24 - 2006. Count Number of Pairs With Absolute Difference K


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

JavaQuest25 - 434. Number of Segments in a String
JavaQuest26 - 1844. Replace All Digits with Characters


Day 16 - 11/12/2023

Day16 - Morning Lab

11/12 Question
2351. First Letter to Appear Twice

Day16 - Afternoon Lab

JavaQuest27 - 367. Valid Perfect Square
JavaQuest28 -1967. Number of Strings That Appear as Substrings in Word


Day 17

Day17 - Morning Lab

1/8 Question
Finished 121. Best Time to Buy and Sell Stock

Day17 - Afternoon

JavaQuest29 - 1556. Thousand Separator
JavaQuest30 - 2520. Count the Digits That Divide a Number


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

JavaQuest31 - 2716. Minimize String Length
JavaQuest32 - 1470. Shuffle the Array


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

JavaQuest33 - 905. Sort Array By Parity
JavaQuest34 - 1662. Check If Two String Arrays are


Day 20

Day20 - Morning Lab

4/8 Question
Finished 771. Jewels and Stones

Day20 - Afternoon Lab

JavaQuest35 - 283. Move Zeroes
JavaQuest36 - 561. Array Partition


Day 21

Day21 - Morning Lab

7/8 Skip Leetcode

Day21 - Afternoon Lab

JavaQuest37 | 389. Find the Difference
JavaQuest38 | 1929. Concatenation of Array


Day 22

Day22 - Morning Lab

8/8 Question
Finished 202. Happy Number

Day22 - Afternoon Lab

JavaQuest39 | 2810. Faulty Keyboard
JavaQuest40 | 2733. Neither Minimum nor Maximum


Day 23

Day23 - Morning Lab

9/8 Question
Finished 2073. Time Needed to Buy Tickets

Day23 - Afternoon Lab

JavaQuest41 | 2427. Number of Common Factors
JavaQuest42 | 1672. Richest Customer Wealth


Day 24

Day24 AWS Day - 10/8/2023

JavaQuest43 | 1791. Find Center of Star Graph
JavaQuest44 | 2535. Difference Between Element Sum and Digit Sum of an Arraya


Day 25

Day25 - Morning Lab

11/8 Question
Finished 876. Middle of the Linked List

Day25 - Afternoon Lab

JavaQuest45 | 844. Backspace String Compare
JavaQuest46 | 1979. Find Greatest Common Divisor of Array


Day 26

Day 26 - Morning Lab

14/8 Question
== 2500. Delete Greatest Value in Each Row

Day 26 - Afternoon Lab

JavaQuest47 | 387. First Unique Character in a String
JavaQuest48 | 20. Valid Parentheses


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

JavaQuest49 | 1979. Find Greatest Common Divisor of Array
JavaQuest50 | 2578. Split With Minimum Sum


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

JavaQuest51 | 830. Positions of Large Groups
JavaQuest52 | 342. Power of Fourps


Day 29

Day 29 - Morning Lab

17/8 Question
Finished 1700. Number of Students Unable to Eat Lunch

Day 29 - Afternoon Lab

JavaQuest53 |1464. Maximum Product of Two Elements in an Array
JavaQuest54 | 2032. Two Out of Three


Day 30

Day 30 - Morning Lab

18/8 Question
Finished 1436. Destination City

Day 30 - Afternoon Lab

JavaQuest55 | 2206. Divide Array Into Equal Pairs
JavaQuest56 | 2341. Maximum Number of Pairs in Array


Day 31

Day 31 - Morning Lab

21/8 Question
Finished 225. Implement Stack using Queues

Day 31 - Afternoon Lab

JavaQuest57 | 2696. Minimum String Length After Removing Substrings
JavaQuest58 | 1837. Sum of Digits in Base K


Day 32

Day 32 - Morning Lab

22/8 Question
Finished 832. Flipping an Image
Finished 1046. Last Stone Weight

Day 32 - Afternoon Lab

SQL: 1757, 627, 595, 584, 1693, 197


Day 33

Day 33 - Morning Lab

23/8 Question
Finished 1518. Water Bottles
Finished 1103. Distribute Candies to People

Day 33 - Afternoon Lab

SQL: 1890, 1484, 1587, 1527, 197, 1103, 1518, 595


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


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


Day 36

Day 36 - Morning Lab

28/8 Question
Finished 367. Valid Perfect Square
Finished 2465. Number of Distinct Averages

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

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

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

SQL : 1148, 908, 1393, 175, 176, 608, 1193


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

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

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

Day 43

Day 43 - Morning Lab

6/9 Question
Finished 387. First Unique Character in a String

Day 44

Day 44 - Morning Lab

7/9 Question
Finished 2367. Number of Arithmetic Triplets

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

Day 46 Career Day

Day 46 - Morning Lab

11/9 Career Day

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

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

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

Day 50

Day 50 - Morning Lab

15/9 Question
Finished 2744. Find Maximum Number of String Pairs

Day 51

Day 51 - Morning Lab

18/9 Question

    • 2942. Find Words Containing Character
    • 2951. Find the Peaks
    • 682. Baseball Game
    • 2373. Largest Local Values in a Matrix
    • 2848. Points That Intersect With Cars
    • 456. 132 Pattern
    • 728. Self Dividing Numbers
    • 202. Happy Number
    • 263. Ugly Number
    • 373. Find K Pairs with Smallest Sums
    • 2220. Minimum Bit Flips to Convert Number
    • 1773. Count Items Matching a
    • 1281. Subtract the Product and Sum of Digits of an
    • 2652. Sum Multiples
    • 1688. Count of Matches in Tournament
    • 2119. A Number After a Double Reversal
    • 2180. Count Integers With Even Digit Sum
    • 1822. Sign of the Product of an Array
    • 28. Find the Index of the First Occurrence in a String
    • 2455. Average Value of Even Numbers That Are Divisible by Three
    • 1732. Find the Highest Altitude
    • 2037. Minimum Number of Moves to Seat Everyone
    • 1539. Kth Missing Positive Number
    • 412. Fizz Buzz
    • 1800. Maximum Ascending Subarray Sum
    • 1967. Number of Strings That Appear as Substrings in Word
    • 2485. Find the Pivot
    • 1832. Check if the Sentence Is Pangram
    • 2717. Semi-Ordered Permutation
    • 1742. Maximum Number of Balls in a Box
    • 1528. Shuffle String
    • 744. Find Smallest Letter Greater Than Target
    • 771. Jewels and Stones
    • 2114. Maximum Number of Words Found in Sentences
    • 1773. Count Items Matching a Rule
    • 2325. Decode the Message
    • 119. Pascal's Triangle II
    • 12. Integer to Roman
    • 27. Remove Element
    • 1920. Build Array from Permutation
    • 1295. Find Numbers with Even Number of Digits|
    • 704. Binary Search|
    • 2500. Delete Greatest Value in Each Row
    • 2309. Greatest English Letter in Upper and Lower Case (ASCII code)

Medium :

    • 34.
    • 122. Best Time to Buy and Sell Stock II
    • 55. Jump Game
    • 153. Find Minimum in Rotated Sorted Array
    • 45. Jump Game II
    • 2125. Number of Laser Beams in a Bank
    • 1282. Group the People Given the Group Size They Belong To
    • 2103. Rings and Rods

WarmUp Question

    • 2235. Add Two Integers
    • 709. To Lower Case
    • 2413. Smallest Even Multiple
    • 1108. Defanging an IP Address
    • 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