Skip to content

A set of tools to convert LeetCode text input data to a required type.

Notifications You must be signed in to change notification settings

SchrodingersCpp/LeetCode_Input_Helper

Repository files navigation

LeetCode_Input_Helper

A set of tools to convert LeetCode text input data to a required type.

List of converter tools

  1. List to a TreeNode structure.

Input: A text list containing numbers and nulls.

Example input: "[1,2,3,null,4,null,5,6]".

Output: A TreeNode structure.

  1. List of lists to a vector of vectors.

Input: A text list of text lists containing numbers.

Example input: "[[1,2,3],[4,5],[6]]".

Output: A vector of vectors containing numbers.

About

A set of tools to convert LeetCode text input data to a required type.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages