{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Array Interview Questions" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Problem 1:\n", "Given a N*N matrix, rotate the matrix by 90 degrees clockwise\n", "- Input: [[1, 2, 3],\n", " [4, 5, 6],\n", " [7, 8, 9]]\n", " \n", "- Output: [[7, 4, 1]\n", " [8, 5, 2] \n", " [9, 6, 3]]" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "interpreter": { "hash": "40d3a090f54c6569ab1632332b64b2c03c39dcf918b08424e98f38b5ae0af88f" }, "kernelspec": { "display_name": "Python 3.8.3 ('base')", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.3" }, "orig_nbformat": 4 }, "nbformat": 4, "nbformat_minor": 2 }