
Go String Manipulation Programs: Anagram, Duplicates, Windows
Go string manipulation means changing or analysing text in smart ways, such as finding anagrams, removing duplicate letters or compressing “aaabb” into “a3b2”. These…
Tag

Go string manipulation means changing or analysing text in smart ways, such as finding anagrams, removing duplicate letters or compressing “aaabb” into “a3b2”. These…

Go string programs are among the most asked coding questions, because almost every app works with text such as names, messages and search words.…

Go switch programs choose one path out of many, which makes them perfect for menus, calculators and day names. In this post, you will…

Go pattern programs print shapes such as triangles, pyramids and diamonds using stars, numbers or letters. They look simple, but they test exactly how…

Go number programs check special properties of numbers, such as whether a number is prime, a palindrome or an Armstrong number. These are some…

Go loop programs let your code repeat work, such as printing a times table, adding up numbers or walking through a list. In this…

Go if else programs teach your code to make decisions, such as “is this number even?” or “did the student pass?”. In this post,…

Go math programs turn the numbers you read from the user into real answers, such as a total bill, an area or the interest…

Go user input programs let your code ask a question and use the answer, which is the moment a program starts to feel alive.…

Go print programs are the first real programs every learner writes, starting with the classic Hello World. In this post, you will write twelve…