Skip to content

This repo includes my LeetCode problem submissions mostly written in Java.

Notifications You must be signed in to change notification settings

wasit-shafi/LeetCodeSolutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCodeSolutions Repository

  • Includes my LeetCode problems submissions mostly written in Java!

Boilerplate code for Java refer gist


// URL: 
/**
 * @author WasitShafi
 * @since 01-MAR-2023
 */
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    System.out.print("");
    scanner.close();
  }
}

File namings, refer here


  • Prefer file/directory name in all lowercase separated by hyphens.

  • Incase of need to have more than 1 file for any problem, then append '-N' or '_N' eg: some-problem-2.java or 'some_problem_2.java'

  • Avoid using integer 0(zero), sometimes its referred as ASCII NUL character (not NULL).

  • Make sure file/directory name don't have leading/trailing spaces.

  • File name should be under 31 chars.

  • File name shouldn't contains any of the below chars.

    backtick `
    single quotes '
    double quotes "
    colon :
    asterisk *
    plus sign +
    percent %
    forward slash /
    back slash \
    pound #
    dollar sign $
    at sign @
    ampersand &
    pipe |
    exclamation point !
    question mark ?
    equal sign =
    left curly bracket {
    right curly bracket }
    left angle bracket <
    right angle bracket >
    blank spaces

About

This repo includes my LeetCode problem submissions mostly written in Java.

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages