HackerRank Questions solved in Python 3

PURPOSE

Storing Python solutions for questions that I solve on HackerRank

Return reverse of Array

Using list slicing to reverse array

Methods to reverse a list in Python

Creating 2D Arrays

In Python, there are no arrays, there's only list. To create a 2D Array, (or 2D list), we can wrap one list inside the other.

Thank the author. Fork this blog.


Tagged in python