Skip to content

snehalmastud/PythonSolution-HackerRank

Repository files navigation

HackerRank Python Challenge!

image

My solution to HackerRank's Python Challenge!


Table Of Contents

-Introduction

-Basic Data Types

-Strings

-Sets

-Math

-Itertools

-Collections

-Date and Time

-Errors and Exceptions

-Classes

-Built-lns

-Python Functionals

-Regex and Parsing

-XML

-Closures and Decorators

-Numpy

-Debugging


Introduction

-Say "Hello, World" With Python

-Write a Function

-Python: Division

-Python If-Else

-Print Function

-Loops

-Arithmetic Operators


Basic Data Types

-Tuples

-Nested Lists

-Lists

-List Comprehensions

-Finding the Precentage

-Find the Runner-Up Score


Strings

-sWAP cASE

-What's Your Name?

-The Minion Game

-Text Wrap

-Text Alignment

-String Validators

-String Split and Join

-String Formatting

-Mutations

-Merge The Tools!

-Find a String

-Designer Door Mat

-Capitalize

-Alphabet Rangoli


Sets

-Introduction to Sets

-The Captain's Room

-Symmetric Difference

-Sets.discard(), .remove() & .pop()

-Set.add()

-Set Mutations

-Set.union() Operation

-Set.symmetric_difference() Operation

-Set.intersection() Operation

-Set.difference() Operation

-No Idea!

-Check Subset

-Check Strict Superset


Math

-Triangle Quest

-Triangle Quest 2

-Power- Mod Power

-Polar Coordinates

-Mod Divmod

-Integer Come In All Sizes

-Find Angle MBC


Itertools

-itertools.product()

-itertools.permutations()

-itertools.combinations_with_replacement()

-itertools.combinations()

-Maximize It!

-Iterables and Iterators

-Compress the String


Collections

-collections.Counter()

-Word Order

-Piling Up!

-DefaultDict Tutorial

-Company Logo

-Collections.namedtuple()

-Collections.deque()

-Collections.OrderedDict()


Date and Time

-Calendar Module

-Time Delta


Errors and Exceptions

-Exceptions

-Incorrect Regex


Classes

-Classes: Dealing With Complex Numbers

-Class 2: Find the Torsional Angle


Built-lns

-ginortS

-Zipped!

-Python Evaluation

-Input()

-Athlete Sort

-Any or All


Python Functionals

-Validating Email Addresses With A Filter

-Reduce Function

-Map and Lambda Function


Regex and Parsing

-Validating Phone Numbers

-Validating and Parsing Email Addresses

-Validating UID

-Validating Roman Numerals

-Validating Postal Codes

-Validating Credit Card Numbers

-Regex Substitution

-Re.start() & Re.end()

-Re.split()

-Re.findall() & Re.finditer()

-Matrix Script

-Hex Color Code

-HTML Parser- Part 1

-HTML Parser- Part 2

-Group(), Groups() & Groupdict()

-Detect HTML Tags, Attributes and Attribute Values

-Detect Floating Point Number


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

-Zeros and Ones

-Transpose and Flatten

-Sum and Prod

-Shape and Reshape

-Polynomials

-Min and Max

-Mean, Var and Std

-Linear Algebra

-Inner and Outer

-Floor, Ceil and Rint

-Eye and Identity

-Dot and Cross

-Concatenate

-Arrays

-Array Mathematics


Debugging

-Words Score

-Default Arguments


Author Info

SBM

-HackerRank

-Linkedln