Skip to content

Instantly share code, notes, and snippets.

Avatar
🌴
On vacation

Ahmad Bilal ahmadsb86

🌴
On vacation
View GitHub Profile
View vscode-settings.txt
{
"editor.fontSize": 26,
"editor.fontFamily": "\"Fira Code Light\", \"JetBrainsMono Nerd Font Mono\"",
"workbench.colorTheme": "Bearded Theme Monokai Stone",
"code-runner.executorMap": {
"cpp": "cls && cd $dir && g++ $fileName -o \"C:\\Users\\ahmad\\OneDrive\\Desktop\\Coding\\IO\\bin\\$fileNameWithoutExt\" && C:\\Users\\ahmad\\OneDrive\\Desktop\\Coding\\IO\\bin\\$fileNameWithoutExt <C:\\Users\\ahmad\\OneDrive\\Desktop\\Coding\\IO\\input.txt> C:\\Users\\ahmad\\OneDrive\\Desktop\\Coding\\IO\\output.txt",
},
"code-runner.runInTerminal": true,
"code-runner.clearPreviousOutput": true,
"code-runner.saveFileBeforeRun": true,
View ReversedLLAddition.go
package main
import (
"fmt"
"math"
)
//Linked list structs
type node struct {
val int
View IntegerReversing.go
package main
import(
"fmt"
"math"
)
func main(){
//Input (hardcode values if you are using Go Playground since it doesn't support terminal input)
var inputs [2]int