All Leetcode submissions have their own folder in the repo. You can find them by their frontendID and questionSlug propeties.
Submission List
- 78-Subsets Submission - Leetcode Link
- 190-Reverse Bits Submission - Leetcode Link
- 168-Excel Sheet Column Title Submission - Leetcode Link
- 171-Excel Sheet Column Number Submission - Leetcode Link
- 191-Number of 1 Bits Submission - Leetcode Link
- 476-Number Complement Submission - Leetcode Link
- 463-Island Perimeter Submission - Leetcode Link
- 389-Find the Difference Submission - Leetcode Link
- 412-Fizz Buzz Submission - Leetcode Link
- 23-Merge k Sorted Lists Submission - Leetcode Link
- 19-Remove Nth Node From End of List Submission - Leetcode Link
- 17-Letter Combinations of a Phone Number Submission - Leetcode Link
- 16-3Sum Closest Submission - Leetcode Link
- 15-3Sum Submission - Leetcode Link
- 11-Container With Most Water Submission - Leetcode Link
- 136-Single Number Submission - Leetcode Link
- 46-Permutations Submission - Leetcode Link
- 1047-Remove All Adjacent Duplicates In String Submission - Leetcode Link
- 1051-Height Checker Submission - Leetcode Link
- 1071-Greatest Common Divisor of Strings Submission - Leetcode Link
- 1078-Occurrences After Bigram Submission - Leetcode Link
- 1089-Duplicate Zeros Submission - Leetcode Link
- 1103-Distribute Candies to People Submission - Leetcode Link
- 1108-Defanging an IP Address Submission - Leetcode Link
- 82-Remove Duplicates from Sorted List II Submission - Leetcode Link
- 75-Sort Colors Submission - Leetcode Link
- 36-Valid Sudoku Submission - Leetcode Link
- 37-Sudoku Solver Submission - Leetcode Link
- 48-Rotate Image Submission - Leetcode Link
- 8-String to Integer (atoi) Submission - Leetcode Link
- 6-ZigZag Conversion Submission - Leetcode Link
- 104-Maximum Depth of Binary Tree Submission - Leetcode Link
- 100-Same Tree Submission - Leetcode Link
- 88-Merge Sorted Array Submission - Leetcode Link
- 83-Remove Duplicates from Sorted List Submission - Leetcode Link
- 70-Climbing Stairs Submission - Leetcode Link
- 69-Sqrt(x) Submission - Leetcode Link
- 67-Add Binary Submission - Leetcode Link
- 66-Plus One Submission - Leetcode Link
- 58-Length of Last Word Submission - Leetcode Link
- 5-Longest Palindromic Substring Submission - Leetcode Link
- 4-Median of Two Sorted Arrays Submission - Leetcode Link
- 53-Maximum Subarray Submission - Leetcode Link
- 38-Count and Say Submission - Leetcode Link
- 35-Search Insert Position Submission - Leetcode Link
- 28-Implement strStr() Submission - Leetcode Link
- 27-Remove Element Submission - Leetcode Link
- 26-Remove Duplicates from Sorted Array Submission - Leetcode Link
- 21-Merge Two Sorted Lists Submission - Leetcode Link
- 20-Valid Parentheses Submission - Leetcode Link
- 14-Longest Common Prefix Submission - Leetcode Link
- 13-Roman to Integer Submission - Leetcode Link
- 9-Palindrome Number Submission - Leetcode Link
- 7-Reverse Integer Submission - Leetcode Link
- 3-Longest Substring Without Repeating Characters Submission - Leetcode Link
- 2-Add Two Numbers Submission - Leetcode Link
- 1-Two Sum Submission - Leetcode Link
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
/*\
/***\
/*****\
/***********\
/*************\
/***************\
/*****************\
/***********************\
/*************************\
/************|||************\
/*************|$|*************\
/**************|||**************\