Skip to content

tanhauhau/LeetCodeStarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LeetCodeStarter

Boilerplate to kickstart your LeetCode practice.

Folder structure

File name Description
Solution.java This is where you code your solution
LeetCodeUtil.java Home for all the utility code
ds This folder contains data structure such as ListNode, TreeNode
util/FetchStarterCode.java This code updates Solution.java to the starter code LeetCode provided based on the LeetCode problem url

LeetCodeUtil

ListNode LeetCodeUtil.toLinkedList(Integer[] array)

Converts from Integer[] to linked list.

TreeNode LeetCodeUtil.toBinaryTree(Integer[] array)

Converts from Integer[] to binary tree.

void printList(ListNode node)

Prints linked list to system output.

License

MIT

About

Boilerplate to kickstart your LeetCode practice

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages