jbltx / go-training

Leetcode submissions and others samples in Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Training

Leetcode submissions

All Leetcode submissions have their own folder in the repo. You can find them by their frontendID and questionSlug propeties.

Submission List


Others Samples

Sastantua

The goal of this program is to build the Sastantua pyramid using a given size as argument. Several sizes can be given in the same command line.

go run ./sastantua 1 3

Output

Size 1
  /*\
 /***\
/**|**\



Size 3
               /*\
              /***\
             /*****\
          /***********\
         /*************\
        /***************\
       /*****************\
    /***********************\
   /*************************\
  /************|||************\
 /*************|$|*************\
/**************|||**************\

About

Leetcode submissions and others samples in Golang


Languages

Language:Go 100.0%