Skip to content

indhuja-avs/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode

Leetcode solutions

  1. Enter the following commands in terminal:

To pull leetcode-image from the repo indhujasiva

docker pull indhujasiva/leetcode-image

To build a container with the image; -p binds ports from your host machine(3000) to the container environment(given as EXPOSE 3000 in Dockerfile)

docker run -p 3000:3000 --name my-container indhujasiva/leetcode-image
  1. Once my-container starts running, http://localhost:3000/ opens in default browser.

  2. A drop down box appears from which the desired function can be executed by selecting it.

  3. The expected inputs of the functions are:

MaxStoredWater - Positive integers separated by comma. Example: 1,8,6,2,5,4,8,3,7

MergeIntervals - Even number of positive integers separated by comma. Example: 1,4,0,4

CountDigitOne - A positive integer. Example: 77823

About

Leetcode solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published