Learned or Solved Something Today?

Dump it here! Let others learn from you

Write a python hack
Showing 20 of 1808 from page 1

khushal posted in #python #codingchallenge #hackerrank-solutions #greedy #grids

Grid Challenge

Given a square grid of characters in the range ascii a z , rearrange elements of each row alphabetically, ascending. Determine if the columns are also in ascending alphabetical order, top to bottom. R

fazna posted in #python #project

test - solving challenges

challenges solving test etst etst etst challenges solving test etst etst etst challenges solving test etst etst etst challenges solving test etst etst etstchallenges solving test etst etst etstchallen

tikev39 posted in #python #codingchallenge

Advent of Code day 3 Part 1 and part 2 (Python)

Solution for part 1 and part 2 of day 3 on Advent of Code. If you have any questions, feel free to ask in the comments.

chris posted in #python #codingchallenge

Optimized Recursive Algorithm with Memoization for Obtaining the Nth Fibonacci Number

The standard approach to the recursive solution has time complexity O n , with the required memoization adding a space complexity of O n . Using identities derived through the matrix form, we can prod

tikev39 posted in #python #dfs #leetcode #codingchallenge

Rotting Oranges - Leetcode (Python)

If you have any questions regarding my code, feel free to ask in the comments, I’ll be answering em https i.imgur.com X6XMybF.png https i.imgur.com opsU4iT.png

tikev39 posted in #python #leetcode #code #dfs #codingchallenge

Number of island problem on Leetcode (Python - DFS)

If you have any questions regarding my code, feel free to ask in the comments, I’ll be answering em

tikev39 posted in #python #code #codingchallenge

Advent of Code 2020 Day 15 part 1 & part 2 Solution (Python)

If you have any questions regarding my code, feel free to ask in the comments, I’ll be answering em

tikev39 posted in #python #solution #code #codingchallenge

Advent of Code 2020 Day 12 part 1 solution (Python)

If you have any questions regarding my code, feel free to ask in the comments, I’ll be answering em

tikev39 posted in #python #code #solution #codingchallenge

Advent of code day 9 Solution part 1 & part 2 (Python)

If you have any questions regarding my code, feel free to ask in the comments, I’ll be answering em

tikev39 posted in #python #solution #codingchallenge

Advent of code 2020 Day 8 part 2 (Python)

If you have any questions regarding my code, feel free to ask in the comments, I’ll be answering em

tikev39 posted in #python #solution #leetcode #codingchallenge

Path Sum II problem - Leetcode solution (Python3)

Runtime  92 ms, faster than 5.13 of Python3 online submissions for Path Sum II. Memory Usage  15 MB, less than 97.26 of Python3 online submissions for Path Sum II.

tikev39 posted in #python #leetcode #solution #recursion #codingchallenge

Easy and simple solution for Leetcodes "Unique Paths" math problem (Python3) - Recursion

Runtime  40 ms, faster than 21.32 of Python3 online submissions for Set  Unique Paths. Memory Usage  14.4 MB, less than 15.17  of Python3 online submissions for Set  Unique Paths. If you have any ques

tikev39 posted in #python #leetcode #matrix #solution #codingchallenge

Easy and simple solution for Leetcodes "Set Matrix Zeroes" problem (Python3)

Runtime  148 ms, faster than 34.43 of Python3 online submissions for Set Matrix Zeroes. Memory Usage  15.4 MB, less than 14.18 of Python3 online submissions for Set Matrix Zeroes. If you have any ques

tikev39 posted in #python #leetcode #solution #codingchallenge

Easy and simple solution for Leetcodes "Game of Life" problem (Python3) No recursion

Runtime  41 ms , faster than 28.88 of Python3 online submissions for Game of Life. Memory Usage  14.2 MB , less than 69.40 of Python3 online submissions for Game of Life. If you have any questions reg

tikev39 posted in #python #leetcode #solution #codingchallenge

Simple and easy to understand Python3 solution for Leetcodes problem "Zigzag Conversion"

Solution for Leetcodes problem « Zigzag Conversion» If you have any questions regarding my code, feel free to leave a comment! I ll be answering em

tikev39 posted in #python #leetcode #solution #robot #codingchallenge

Python3 easy to understand solution with comments for Walking Robot Simulation II problem

Solution for Leetcodes problem « Walking Robot Simulation ll » For this question, if we have moved atleast once, next time that we re at 0,0 we,ll be facing South and not East If you have any question

tikev39 posted in #python #leetcode #codingchallenge

Leetcode - Roman to Integer Solution (Python3)

Solution for Leetcode « Roman to Integer » problem. If you have any questions regarding my code, feel free to leave a comment, I’ll be answering em Runtime  56 ms , faster than 38.16 of Python3 online

tikev39 posted in #python #leetcode #codingchallenge

Leetcode - Integer to Roman Solution (Python3)

Solution for Leetcode « Integer to Roman » problem. If you have any questions regarding my code, feel free to leave a comment, I’ll be answering em Runtime  60 ms, faster than 38.19 of Python3 online

tikev39 posted in #python #leetcode #codingchallenge

Solution Leetcode N-Queens I (Python)

Solution for Leetcode « N Queens » problem. If you have any questions regarding my code, feel free to leave a comment, I’ll be answering em

tikev39 posted in #python #leetcode #codingchallenge

Solution Leetcode - Sudoku Solver (Python3)

If you have any questions regarding my code, feel free to ask in the comments I ll be answering em D Runtime   1715 ms , faster than 5.05 of Python3 online submissions for Sudoku Solver. Memory Usage

fb