Coder Social home page Coder Social logo

leetcode-go's Introduction

描述

使用go刷leetcode以及acwing的代码,记录学习过程 作者力扣地址

希望成为knight

力扣插件配置

CodeFileName

leetcode/${question.frontendQuestionId}.${question.title}/solution_test

CodeTemplate

package leetcode

import(
    "testing"
)

func Test$!velocityTool.camelCaseName(${question.titleSlug})(t *testing.T){
    
}

${question.code}

Template Constant

${question.title}	题目标题	示例:两数之和
${question.titleSlug}	题目标记	示例:two-sum
${question.frontendQuestionId}	题目编号
${question.content}	题目描述
${question.code}	题目代码
$!velocityTool.camelCaseName(str)	转换字符为大驼峰样式(开头字母大写)
$!velocityTool.smallCamelCaseName(str)	转换字符为小驼峰样式(开头字母小写)
$!velocityTool.snakeCaseName(str)	转换字符为蛇形样式
$!velocityTool.leftPadZeros(str,n)	在字符串的左边填充0,使字符串的长度至少为n
$!velocityTool.date()	获取当前时间

leetcode-go's People

Contributors

2281501756 avatar

Stargazers

 avatar

Watchers

 avatar

leetcode-go's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.