@greatfrontend@yangshun Day 3 questions:
• Fill
• Find Index
• Find Last Index
• From Pairs
Practiced index boundaries, searching with predicates and converting key-value pairs into objects. Also learned why Math.trunc(-0.9) returns -0.
@greatfrontend@yangshun Day 2 questions:
• Array.prototype.square
• Cancellable Timeout
• Chunk
• Compact
• Difference
• Drop Right While
• Drop While
Practiced array methods, timers, predicates and handling sparse arrays.
GreatFrontEnd Day 2 ✅
Solved 7 more questions on @greatfrontend by @yangshun.
Had a few mix-ups with slice boundaries and sparse arrays, but worked through them. Keeping the daily practice going!
#JavaScript#GreatFrontEnd
@greatfrontend@yangshun Day 1 questions:
• Clamp
• Function Length
• Make Counter
• Mean
• Number of Arguments
• Sleep
• useBoolean
• useCounter
• Cancellable Interval
• Type Utilities
Practiced closures, promises, timers, type checks, and React state.
Solutions:
Palindromic Substrings
https://t.co/eK7TgOuiT1
Longest Palindromic Substring
https://t.co/5gazhpiwr9
Container With Most Water
https://t.co/EtqYnYUHdE
Solutions:
Longest Consecutive Sequence
https://t.co/kPY145STih
Valid Sudoku
https://t.co/GLwHL4blIt
Valid Palindrome
https://t.co/TCEofiCqLK
Two Sum II - Input Array Is Sorted
https://t.co/FK48mDFDjU
DSA Day 61 ✅
Today’s problems:
• Climbing Stairs
• Min Cost Climbing Stairs
• Group Anagrams
• Top K Frequent Elements
• Encode and Decode Strings
#DSA#LeetCode#JavaScript