hackerrank-python
hackerrank-python copied to clipboard
My practice with Python solving problems in HackerRank.
hackerrank-python
My practice with Python solving problems in HackerRank
My HackerRank profile
https://www.hackerrank.com/charlesartbr
206 challenges solved
-
Algorithms
- Warmup
- Compare the Triplets
- Warmup
-
Python
-
Introduction
- Say "Hello, World!" With Python
- Python If-Else
- Arithmetic Operators
- Python: Division
- Loops
- Print Function
- Write a function
-
Basic Data Types
- Lists
- Tuples
- Finding the percentage
- Nested Lists
- Find the Runner-Up Score!
- List Comprehensions
-
Strings
- sWAP cASE
- String Split and Join
- What's Your Name?
- Mutations
- Find a string
- String Validators
- Text Alignment
- Text Wrap
- Designer Door Mat
- String Formatting
- Alphabet Rangoli
- Capitalize!
- The Minion Game
- Merge the Tools!
-
Sets
- Introduction to Sets
- Symmetric Difference
- Set .add()
- Set .discard(), .remove() & .pop()
- Set .union() Operation
- Set .intersection() Operation
- Set .difference() Operation
- Set .symmetric_difference() Operation
- Check Subset
- Check Strict Superset
- Set Mutations
- The Captain's Room
- No Idea!
-
Math
- Polar Coordinates
- Power - Mod Power
- Integers Come In All Sizes
- Mod Divmod
- Triangle Quest
- Triangle Quest 2
- Find Angle MBC
-
Itertools
- itertools.permutations()
- itertools.combinations()
- itertools.combinations_with_replacement()
- itertools.product()
- Compress the String!
- Iterables and Iterators
- Maximize It!
-
Collections
- collections.Counter()
- DefaultDict Tutorial
- Collections.OrderedDict()
- Collections.deque()
- Collections.namedtuple()
- Word Order
- Company Logo
- Piling Up!
-
Date and Time
- Calendar Module
- Time Delta
-
Errors and Exceptions
- Incorrect Regex
- Exceptions
-
Classes
- Classes: Dealing with Complex Numbers
- Class 2 - Find the Torsional Angle
-
Built-Ins
- Zipped!
- Python Evaluation
- Any or All
- Input()
- Athlete Sort
- ginortS
-
Functionals
- Map and Lambda Function
- Validating Email Addresses With a Filter
- Reduce Function
-
Regex and Parsing
- Validating and Parsing Email Addresses
- Detect Floating Point Number
- Re.split()
- Group(), Groups() & Groupdict()
- Re.findall() & Re.finditer()
- Re.start() & Re.end()
- Validating Roman Numerals
- Validating phone numbers
- Hex Color Code
- HTML Parser - Part 1
- HTML Parser - Part 2
- Detect HTML Tags, Attributes and Attribute Values
- Validating UID
- Validating Credit Card Numbers
- Validating Postal Codes
- Matrix Script
- Regex Substitution
-
XML
- XML 1 - Find the Score
- XML 2 - Find the Maximum Depth
-
Closures and Decorators
- Standardize Mobile Number Using Decorators
- Decorators 2 - Name Directory
-
NumPy
- Arrays
- Shape and Reshape
- Concatenate
- Zeros and Ones
- Eye and Identity
- Array Mathematics
- Floor, Ceil and Rint
- Sum and Prod
- Min and Max
- Mean, Var, and Std
- Dot and Cross
- Inner and Outer
- Transpose and Flatten
- Polynomials
- Linear Algebra
-
Debugging
- Words Score
- Default Arguments
-
Bit Manipulation
- Sum vs XOR
-
-
10 Days of Statistics
- Day 0: Mean, Median, and Mode
- Day 0: Weighted Mean
- Day 1: Quartiles
- Day 1: Interquartile Range
- Day 1: Standard Deviation
- Day 2: Basic Probability
- Day 2: More Dice
- Day 2: Compound Event Probability
- Day 3: Conditional Probability
- Day 3: Cards of the Same Suit
- Day 3: Drawing Marbles
- Day 4: Binomial Distribution I
- Day 4: Binomial Distribution II
- Day 4: Geometric Distribution I
- Day 4: Geometric Distribution II
- Day 5: Poisson Distribution I
- Day 5: Poisson Distribution II
- Day 5: Normal Distribution I
- Day 5: Normal Distribution II
- Day 6: The Central Limit Theorem I
- Day 6: The Central Limit Theorem II
- Day 6: The Central Limit Theorem III
- Day 7: Pearson Correlation Coefficient
- Day 7: Spearman's Rank Correlation Coefficient
- Day 8: Least Square Regression Line
- Day 9: Multiple Linear Regression
-
30 Days of Code
- Day 0: Hello, World.
- Day 1: Data Types
- Day 2: Operators
- Day 3: Intro to Conditional Statements
- Day 4: Class vs. Instance
- Day 5: Loops
- Day 6: Let's Review
- Day 7: Arrays
- Day 8: Dictionaries and Maps
- Day 9: Recursion 3
- Day 10: Binary Numbers
- Day 11: 2D Arrays
- Day 12: Inheritance
- Day 13: Abstract Classes
- Day 14: Scope
- Day 15: Linked List
- Day 16: Exceptions - String to Integer
- Day 17: More Exceptions
- Day 18: Queues and Stacks
- Day 19: Interfaces
- Day 20: Sorting
- Day 21: Generics (not possible in Python)
- Day 22: Binary Search Trees
- Day 23: BST Level-Order Traversal
- Day 24: More Linked Lists
- Day 25: Running Time and Complexity
- Day 26: Nested Logic
- Day 27: Testing
- Day 28: RegEx, Patterns, and Intro to Databases
- Day 29: Bitwise AND
-
Interview Preparation Kit
- Warm-up Challenges
- Sock Merchant
- Counting Valleys
- Jumping on the Clouds
- Repeated String
- Arrays
- 2D Array - DS
- Arrays: Left Rotation
- New Year Chaos
- Minimum Swaps 2
- Array Manipulation
- Dictionaries and Hashmaps
- Hash Tables: Ransom Note
- Two Strings
- Sherlock and Anagrams
- Count Triplets
- String Manipulation
- Alternating Characters
- Strings: Making Anagrams
- Sherlock and the Valid String
- Special String Again
- Sorting
- Bubble Sort
- Mark and Toys
- Comparator
- Fraudulent Activity Notifications
- Greedy Algorithms
- Minimum Absolute Difference in an Array
- Luck Balance
- Tress
- Tree: Height of a Binary Tree
- Binary Search Tree: Lowest Common Ancestor
- Linked Lists
- Insert a node at a specific position in a linked list
- Inserting a Node Into a Sorted Doubly Linked List
- Reverse a doubly linked list
- Find Merge Point of Two Lists
- Detect a Cycle
- Recursion and Backtracking
- Recursion: Fibonacci Numbers
- Miscellaneous
- Flipping bits
- Warm-up Challenges
-
Hack the Interview II - Global
- Product Distribution
- Maximal Char Requests