Post con #ArrayProblems

#ArrayProblems

Post pubblici su X che usano #ArrayProblems.

Hashtag correlati

  1. Bhumi Pandey@BhumiPandey06
    LeetCode 1295 – Find Numbers with Even Number of Digits Solved: Count how many numbers in the array have even digits Used len(str(num)) % 2 == 0 to check digit count Clean loop, simple condition — perfect warm-up! #LeetCode #PythonDSA #ArrayProblems
    009180
  2. Xojo✓@xojo
    Raise your hand if an OutOfBoundsException has ever made you question reality 🙋‍♂️. It happens to the best of us! Discover how to debug, catch, and control these pesky errors, Xojo-style: #DevLife #Xojo #ArrayProblems #Programming
    Scarica
    00386
  3. Bhumi Pandey@BhumiPandey06
    LeetCode 941 – Valid Mountain Array Solved: Check if the array forms a valid mountain shape Strictly increasing, then strictly decreasing Used two-pointer climb + descent logic Edge cases = key here Great mix of condition checks & pointer flow! #LeetCode #PythonDSA #ArrayProblems
    00430
  4. Bhumi Pandey@BhumiPandey06
    LeetCode 2149 – Rearrange Array Elements by Sign Solved: Rearrange array with alternating+ve and-ve elements Used two lists to collect positives & negatives Then merged alternately→O(n) time,O(n) space Great for understanding order-based array handling! #LeetCode #ArrayProblems
    00429
  5. Bhumi Pandey@BhumiPandey06
    LeetCode 1089 – Duplicate Zeros Solved: Duplicate each zero in the array in-place, shifting elements right Used two passes: Count how many zeros can be duplicated Fill from the back using reverse two-pointer Great for tricky in-place logic! #LeetCode #PythonDSA #ArrayProblems
    009159
  6. Bhumi Pandey@BhumiPandey06
    LeetCode 905 – Sort Array By Parity Solved: Sort array so even numbers come before odds Used two-pointer approach to build new array Also tried in-place method using swaps Great for strengthening conditional + pointer logic! #LeetCode #PythonDSA #ArrayProblems
    00645
  7. Bhumi Pandey@BhumiPandey06
    LeetCode 414 – Third Maximum Number Solved: Find the 3rd distinct max number in the array Used a set to track unique values Handled edge case: return max if < 3 distinct numbers Cleans up logic around max tracking & uniqueness! #LeetCode #PythonDSA #ArrayProblems
    00428
  8. Meet Korat@MeetKorat05
    Day 23: Unveiling the mystery of odd occurrences in an array! 🔎🔍 Explored the intriguing problem of finding elements with odd occurrences in an array. Sharpening my skills in array manipulation and uncovering hidden patterns! #ArrayProblems #OddOccurrences #100DaysOfCode
    Scarica
    00532
  9. Mostra altri post