Skip to content

LaionFromNight/codechallenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code challenges

It's the collection of my code exercises which I did in the past first I will focus on Python

The challenges are splatted between two platform LeetCode and CodeWars and on each of them you will find the dir with challenge name,

  • QUESTION.md - with description of exercise.
  • solution.py - with my solution
  • test_solution.py with with runnable test case
  • pipfile - with all packages used
  • platform_result folder - with image screenshot which describe about runtime and memory distribution based on all submission
launch tests

go to Challenge dir e.g Max Consecutive Ones

# To install env with packages
pipenv install 

# To remove env after testing
pipenv --rm

# To run all TC
pipenv run py -m unittest
required
  • python 3.7
  • pipenv
Worth to check
  • LeetCode
    • Find All Numbers Disappeared in an Array [runtime beats 95.94% then rest submissions]
    • Remove Duplicates from Sorted Array [runtime beats 95.85% then rest submissions]
    • Replace Elements with Greatest Element on Right Side [one liner ;) but take too much time ;(]
  • CodeWars
    • 4 kyu - Sudoku Solution Validator
    • 5 kyu - Base64 Encoding

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages