The Weekly Challenge

Complete archive of modern Perl (v5.38+) and Python solutions by Lubos Kolouch

397 Challenges Solved
Modern Perl & Python
GitHub Repository
Showing all 397 entries
Week #397 →
#397 - Absent Smallest Positive and Binary Reflection
Week #396 →
#396 - Finishing Order and Trionic Array
Week #395 →
#395 - Complex Number and Word Squares
Week #394 →
#394 - Alternate Case and Alternating Vowels Consonants
Week #393 →
Pythagoras Multiplied and Prime Step
Week #392 →
Make Palindrome and Maximum Product
Week #391 →
Median of Arrays and Nested Boxes
Week #390 →
Decode String and Smallest String
Week #389 →
Reorder Notes and ZigZag Subarray
Week #388 →
Dyck Word and Secret Santa
Week #387 →
Rearrange Binary String and Atoms Count
Week #386 →
Reverse Base and Rational Numbers
Week #385 →
Uncommon Words and Outermost Parentheses
Week #384 →
Base N and Special Binary Substrings
Week #383 →
Similar List and Nearest RGB
Week #382 →
Hamiltonian Cycle and Replace Question Mark
Week #381 →
Same Row Column and Smaller Greater Element
Week #380 →
Sum of Frequencies and Reverse Degree
Week #379 →
Reverse String and Armstrong Number
Week #378 →
Second Largest Digit and Sum of Words
Week #377 →
Reverse Substring and Prefix Suffix
Week #376 →
Chessboard Squares and Doubled Words
Week #375 →
Single Common Word and Find K-Beauty
Week #374 →
Count Vowel and Largest Same-digits Number
Week #373 →
Equal List and List Division
Week #372 →
372 - Rearrange Spaces and Largest Substring
Week #371 →
371 - Missing Letter and Subset Equilibrium
Week #370 →
370 - Popular Word and Scramble String
Week #369 →
369 - Valid Tag and Group Division
Week #368 →
368 - Make it Bigger and Big/Little Omega
Week #367 →
367 - Max Odd Binary and Conflict Events
Week #366 →
366 - Count Prefixes and Valid Times
Week #365 →
365 - Alphabet Index and Valid Tokens
Week #364 →
364 - Decrypting Strings and Parsing Goals
Week #363 →
363 - String Lie Detector and Subnet Sheriff
Week #362 →
362 - Echo Chamber and Spellbound Sorting
Week #361 →
361 - Zeckendorf Representation and Find Celebrity
Week #360 →
360 - Text Justifier and Word Sorter
Week #359 →
Digital Root & String Reduction
Week #358 →
Max Str Value & Encrypted String
Week #357 →
Kaprekar Constant & Unique Fraction Generator
Week #356 →
356 - Kolakoski Sequence and NFL Playoffs
Week #355 →
355 - Thousand Separators and Mountain Arrays
Week #354 →
354 - Minimum Absolute Difference and Grid Shifting
Week #353 →
353 - Max Words and Coupon Validation
Week #352 →
352 - Match String and Binary Prefix
Week #351 →
351 - Special Average and Arithmetic Progression
Week #350 →
350 - Good Substrings and Shuffle Pairs
Week #349 →
349 - Power String and Meeting Point
Week #348 →
348 - String Alike and Convert Time
Week #347 →
347 - Format Date and Format Phone Number
Week #346 →
346 - Longest Parenthesis and Magic Expression
Week #345 →
345 - Peak Positions and Last Visitor
Week #344 →
344 - Array Form Compute and Array Formation
Week #343 →
343 - Zero Friend and Champion Team
Week #342 →
342 - Balance String and Max Score
Week #341 →
341 - Broken Keyboard and Reverse Prefix
Week #340 →
340 - Duplicate Removals and Ascending Numbers
Week #339 →
339 - Max Diff and Peak Point
Week #338 →
338 - Highest Row and Max Distance
Week #337 →
337 - Smaller Than Current and Odd Matrix
Week #336 →
336 - Equal Group and Final Score
Week #335 →
335 - Common Characters and Find Winner
Week #334 →
334 - Range Sum and Nearest Valid Point
Week #333 →
333 - Straight Line and Duplicate Zeros
Week #332 →
332 - Binary Date and Odd Letters
Week #331 →
331 - Last Word and Buddy Strings
Week #330 →
330 - Clear Digits and Title Capital
Week #329 →
329 - Counter Integers and Nice String
Week #328 →
328 - Replace All ? and Good String
Week #327 →
327 - Missing Integers and MAD
Week #326 →
326 - Day of the Year and Decompressed List
Week #325 →
325 - Consecutive One and Final Price
Week #324 →
324 - 2D Array and Total XOR
Week #323 →
323 - Increment Decrement and Tax Amount
Week #322 →
322 - String Format and Rank Array
Week #321 →
321 - Distinct Average and Backspace Compare
Week #320 →
320 - Maximum Count and Sum Difference
Week #319 →
319 - Word Count and Minimum Common
Week #318 →
318 - Group Position and Reverse Equals
Week #317 →
317 - Acronyms and Friendly Strings
Week #316 →
316 - Circular and Subsequence
Week #315 →
315 - Find Words and Find Third
Week #314 →
Equal Strings and Sort Column
Week #313 →
Broken Keys and Reverse Letters
Week #312 →
Minimum Time and Balls and Boxes
Week #311 →
Upper Lower and Group Digit Sum
Week #310 →
Arrays Intersection and Sort Odd Even
Week #309 →
Min Gap and Min Diff
Week #308 →
Count Common and Decode XOR
Week #307 →
Check Order and Find Anagrams
Week #306 →
Odd Sum and Last Element
Week #305 →
Binary Prefix and Alien Dictionary
Week #304 →
Arrange Binary and Maximum Average
Week #303 →
3-digits Even and Delete and Earn
Week #302 →
Ones and Zeroes and Step by Step
Week #301 →
Largest Number and Hamming Distance
Week #300 →
Beautiful Arrangement and Nested Array
Week #299 →
Replace Words and Word Search
Week #298 →
#298 - Maximal Square and Right Interval
Week #297 →
#297 - Contiguous Array and Semi-Ordered Permutation
Week #296 →
#296 - String Compression and Matchstick Square
Week #295 →
#295 - Word Break and Jump Game
Week #294 →
#294 - Consecutive Sequence and Next Permutation
Week #293 →
#293 - Similar Dominoes and Boomerang
Week #292 →
#292 - Twice Largest and Zuma Game
Week #291 →
#291 - Middle Index and Poker Hand Rankings
Week #290 →
Double Exist & Luhn's Algorithm - Walkthrough & Solutions in Perl and Python
Week #289 →
Third Distinct Maximum & Jumble Letters - Walkthrough & Solutions in Perl and Python
Week #288 →
Closest Palindrome & Contiguous Block - Walkthrough & Solutions in Perl and Python
Week #287 →
Strong Password & Valid Number - Walkthrough & Solutions in Perl and Python
Week #286 →
Self Spammer & Order Game - Walkthrough & Solutions in Perl and Python
Week #285 →
No Connection & Making Change - Walkthrough & Solutions in Perl and Python
Week #284 →
Lucky Integer & Relative Sort - Walkthrough & Solutions in Perl and Python
Week #283 →
Perm & Logarithm
Week #282 →
Perm & Power
Week #281 →
Perm & Complement
Week #280 →
Perm & Symmetric
Week #279 →
Perm & Difference
Week #278 →
Perm & Intersection
Week #277 →
Perm & Union
Week #276 →
Perm & Subset
Week #275 →
Perm & Set
Week #274 →
Perm & Tuple
Week #273 →
Perm & Pair
Week #272 →
Perm & Key
Week #271 →
Perm & Value
Week #270 →
Special Positions and Equalize Array
Week #269 →
Bitwise OR and Distribute Elements
Week #268 →
Magic Number and Number Game
Week #267 →
Product Sign & Line Counts - Walkthrough & Solutions in Perl and Python
Week #266 →
Uncommon Words & X Matrix - Walkthrough & Solutions in Perl and Python
Week #265 →
33% Appearance & Completing Word - Walkthrough & Solutions in Perl and Python
Week #264 →
Greatest English Letter & Target Array - Walkthrough & Solutions in Perl and Python
Week #263 →
Target Index & Merge Items - Walkthrough & Solutions in Perl and Python
Week #262 →
Max Positive Negative & Count Equal Divisible - Walkthrough & Solutions in Perl and Python
Week #261 →
Element Digit Sum & Multiply by Two - Walkthrough & Solutions in Perl and Python
Week #260 →
Unique Occurrences & Dictionary Rank - Walkthrough & Solutions in Perl and Python
Week #259 →
Banking Day Offset & Line Parser - Walkthrough & Solutions in Perl and Python
Week #258 →
Count Even Digits Number & Sum of Values
Week #257 →
Smaller than Current & Reduced Row Echelon
Week #256 →
Maximum Pairs & Merge Strings
Week #255 →
Odd Character & Most Frequent Word
Week #254 →
Three Power & Reverse Vowels
Week #253 →
Split Strings & Weakest Row
Week #252 →
Special Numbers & Unique Sum Zero
Week #251 →
Concatenation Value & Lucky Numbers
Week #250 →
Perm & Month
Week #249 →
Perm & Day
Week #248 →
Perm & Week
Week #247 →
Perm & Leap
Week #246 →
Perm & Year
Week #245 →
Perm & Days
Week #244 →
Perm & Time
Week #243 →
Perm & Date
Week #242 →
Perm & Matrix
Week #241 →
Perm & Hash
Week #240 →
Maximum Pairs & Merge Strings
Week #239 →
Smaller than Current & Reduced Row Echelon
Week #238 →
Unique Occurrences & Dictionary Rank - Walkthrough & Solutions in Perl and Python
Week #237 →
Perm & Word
Week #236 →
Count Even Digits Number & Sum of Values
Week #235 →
Three Power & Reverse Vowels
Week #234 →
Perm & Prime
Week #233 →
Perm & Fibonacci
Week #232 →
Perm & Factor
Week #231 →
Perm & Unicode
Week #230 →
Perm & Compress
Week #229 →
Perm & Join
Week #228 →
Perm & Split
Week #227 →
Perm & Shift
Week #226 →
Perm & Rotate
Week #225 →
Perm & Reverse
Week #224 →
Perm & Grep
Week #223 →
Perm & Map
Week #222 →
Perm & Transform
Week #221 →
Perm & Replace
Week #220 →
Perm & Search
Week #219 →
Perm & Generate
Week #218 →
Element Digit Sum & Multiply by Two - Walkthrough & Solutions in Perl and Python
Week #217 →
Perm & Sort
Week #216 →
Perm & Filter
Week #215 →
Perm & Numbers
Week #214 →
Perm & Matrix
Week #213 →
Count Even Digits Number & Sum of Values
Week #212 →
Duplicate & Unique
Week #211 →
Split Strings & Weakest Row
Week #210 →
Unique & Perm
Week #209 →
Word & Perm
Week #208 →
Sequence & Perm
Week #207 →
Element Digit Sum & Multiply by Two - Walkthrough & Solutions in Perl and Python
Week #206 →
List & Perm
Week #205 →
Array & Perm
Week #204 →
Perm & Bits
Week #203 →
Perm & Sum
Week #202 →
Perm & Strings
Week #201 →
Perm & Numbers
Week #200 →
Regex & Perm
Week #199 →
Cumulative & Perm
Week #198 →
Prime & Perm
Week #197 →
Days & Year
Week #196 →
Sort & Perm
Week #195 →
Remove & Duplicate
Week #194 →
Binary & String
Week #193 →
Decrypt & Encrypt
Week #192 →
Prime & Factor
Week #191 →
Days & Date
Week #190 →
Smaller than Current & Reduced Row Echelon
Week #189 →
Perm & Matrix
Week #188 →
Maximum Pairs & Merge Strings
Week #187 →
Split Strings & Weakest Row
Week #186 →
Perm & Numbers
Week #185 →
Perm & Word
Week #184 →
Sequence & Perm
Week #183 →
Perm & Unique
Week #182 →
Date & Perm
Week #181 →
Count Even Digits Number & Sum of Values
Week #180 →
Perm & Factor
Week #179 →
Split & Perm
Week #178 →
Trim & Perm
Week #177 →
Zip & Perm
Week #176 →
Range & Perm
Week #175 →
Perfect & Perm
Week #174 →
Probable & Perm
Week #173 →
Days & Date
Week #172 →
Disarium & Euler
Week #171 →
Binary & Perm
Week #170 →
Prime & Self
Week #169 →
Self & Perm
Week #168 →
Perm & Numbers
Week #167 →
Roots & Perm
Week #166 →
Hex & Perm
Week #165 →
List & Perm
Week #164 →
Prime & Factor
Week #163 →
Bit & Perm
Week #162 →
IPv4 & Complete
Week #161 →
All & Perm
Week #160 →
Emirp & Factor
Week #159 →
Work & Numbers
Week #158 →
Prime & Numbers
Week #157 →
Days & Numbers
Week #156 →
Count & Perm
Week #155 →
Collatz & Sort
Week #154 →
Perm & Factor
Week #153 →
Leap & Sort
Week #152 →
Exchange & Filter
Week #151 →
Rob & Triangle
Week #150 →
Trailing & Insert
Week #149 →
Compare & Sort
Week #148 →
Index & Factor
Week #147 →
Days & Range
Week #146 →
Prime & String
Week #145 →
操作 & 完了
Week #144 →
Align & Filter
Week #143 →
Work & Days
Week #142 →
Prime & String
Week #141 →
Like & Check
Week #140 →
Array & String
Week #139 →
Work & String
Week #138 →
Multiply & Unique
Week #137 →
Long & Short
Week #136 →
String & Hash
Week #135 →
Sort & Search
Week #134 →
Make & Complete
Week #133 →
List & String
Week #132 →
Sort & Hash
Week #131 →
Bidirectional & Tree
Week #130 →
Mask & Perm
Week #129 →
Count & Split
Week #128 →
Mask & Prime
Week #127 →
Friday & List
Week #126 →
Count & Root
Week #125 →
Ordered & Task
Week #124 →
Task & Sum
Week #123 →
Replace & Perm
Week #122 →
Line & Angle
Week #121 →
Fold & Perm
Week #120 →
Swap & Grep
Week #119 →
Capital & Match
Week #118 →
Triangle & Word
Week #117 →
Sequence & List
Week #116 →
Number & Sort
Week #115 →
Hash & Word
Week #114 →
Fun & String
Week #113 →
Validate & Rep
Week #112 →
Hash & Atom
Week #111 →
Form & Spiral
Week #110 →
Transform & Hash
Week #109 →
Combine & Points
Week #108 →
Unique & Triangle
Week #107 →
Self & Bell
Week #106 →
Path & Word
Week #105 →
Nim & Hash
Week #104 →
Date & Date
Week #103 →
Bit & String
Week #102 →
Search & Sort
Week #101 →
Packed & Bit
Week #100 →
Fun & Numbers
Week #099 →
Matrix & Pair
Week #098 →
Traverse & Climb
Week #097 →
Compare & Sort
Week #096 →
Char & Palindrome
Week #095 →
Stack & String
Week #094 →
Division & GCD
Week #093 →
Vowel & String
Week #092 →
Insert & Dancer
Week #091 →
Max & Count
Week #090 →
Wave & Leap
Week #089 →
Task & Stack
Week #088 →
Array & Bit
Week #087 →
Sudoku & Word
Week #086 →
Decrypt & Distance
Week #085 →
Find & JortSort
Week #084 →
Invert & String
Week #083 →
Word & Sort
Week #082 →
Line & Hash
Week #081 →
Behead & Intervals
Week #080 →
Duplicate & Intervals
Week #079 →
Rearrange & Count
Week #078 →
Left & Number
Week #077 →
Fibonacci Sum and Lonely X
Week #076 →
Prime Sum and Word Search
Week #075 →
Coins Sum and Largest Rectangle Histogram
Week #074 →
Majority Element and FNR Character
Week #073 →
Min Sliding Window and Smallest Neighbour
Week #072 →
Trailing Zeroes and Lines Range
Week #071 →
Peak Elements and Trim Linked List
Week #070 →
Character Swapping and Gray Code Sequence
Week #069 →
Strobogrammatic Number and Binary String Generator
Week #068 →
Zero Matrix and Reorder List
Week #067 →
Number Combinations and Letter Phone
Week #066 →
Divide Integers and Power Integers
Week #065 →
Digits Sum and Palindrome Partition
Week #064 →
Minimum Sum Path and Word Break
Week #063 →
Last Word and Minimum Rotations
Week #062 →
Sort Email Addresses and 3D N-Queens
Week #061 →
Product Subarray and IPv4 Partition
Week #060 →
Excel Column and Find Numbers
Week #059 →
Partition List and Bit Sum
Week #058 →
Compare Version Numbers and Ordered Lineup
Week #057 →
Invert Tree and Shortest Unique Prefix
Week #056 →
Diff-K and Path Sum
Week #055 →
Flip Binary and Wave Array
Week #054 →
Nth Permutation and Collatz Conjecture
Week #053 →
Rotate Matrix and Vowel Strings
Week #052 →
Stepping Numbers and Pick Coins Game
Week #051 →
3-Sum and Colorful Numbers
Week #050 →
Merge Intervals and Noble Integer
Week #049 →
Smallest Multiple and LRU Cache
Week #048 →
Survivor and Palindrome Dates
Week #047 →
Roman Calculator and Gapful Numbers
Week #046 →
Garbled Message and 500 Rooms
Week #045 →
Square Secret Code and Quine
Week #044 →
Insert Operators and Make $200
Week #043 →
Olympic Rings Puzzle and Self-Descriptive Numbers
Week #042 →
Decimal to Octal and Balanced Brackets
Week #041 →
Attractive Numbers and Leonardo Numbers
Week #040 →
Show Matrix and Sort Sublist
Week #039 →
Guest Book / Light Minutes and Reverse Polish Notation
Week #038 →
Date Finder and Scrabble Word Game
Week #037 →
Weekdays in 2019 and Daylight Difference
Week #036 →
VIN Validation and Knapsack Problem
Week #035 →
Morse Code Binary Encoding and Decoding
Week #034 →
Array/Hash Slices and Dispatch Table
Week #033 →
Count Letters and Formatted Multiplication Table
Week #032 →
Count Instances and ASCII Bar Chart
Week #031 →
Divide by Zero and Dynamic Variable Name
Week #030 →
Sunday Christmas and Triples Summing to 12
Week #029 →
Brace Expansion and Calling a C Function
Week #028 →
Binary or ASCII and Digital Clock
Week #027 →
Intersection of Two Lines and Historical Values
Week #026 →
Stones and Jewels and Mean Angle
Week #025 →
Pokemon Sequence and Chaocipher
Week #024 →
Smallest Script and Inverted Index
Week #023 →
Forward Difference and Prime Decomposition
Week #022 →
Sexy Prime Pairs and LZW Compression
Week #021 →
Calculate Euler's Number and URL Normalization
Week #020 →
Split String on Character Change and Amicable Numbers
Week #019 →
Five Weekends and Greedy Text Wrapping
Week #018 →
Longest Common Substring and Priority Queue
Week #017 →
Ackermann Function and URL Deconstruction
Week #016 →
Pythagoras Pie Puzzle and Bitcoin Address Validation
Week #015 →
Strong/Weak Primes and Vigenère Cipher
Week #014 →
Van Eck's Sequence and Spelling with US States
Week #013 →
Last Friday of the Month and Mutually Recursive Methods
Week #012 →
Smallest Non-Prime Euclid Number and Common Directory Path
Week #011 →
Temperature Scale Equal Point and Identity Matrix
Week #010 →
Roman Numerals and Jaro-Winkler Distance
Week #009 →
Distinct Digits Square and Ranking Methods
Week #008 →
Perfect Numbers and Centering Strings
Week #007 →
Niven numbers & Word ladders
Week #006 →
Compact Numbers and Ramanujan's Constant
Week #005 →
All anagrams for a word & Sequence with most anagrams
Week #004 →
Pi with output-sized script & Possible words given chars
Week #003 →
5-smooth numbers & Pascal's Triangle
Week #002 →
Remove leading zeros & Base-35 numbers
Week #001 →
Replace e with E & FizzBuzz one-liner
No challenges matched your search.