Skip to content

[Translation] [Swahili] : translated algorithm strings article #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: swahili
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 21 additions & 22 deletions _content/tour/swa/algorithms-strings.article
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
String Operations
This section provides examples that perform string operations.
Oparesheni za kamba
Sehemu hii inatoa mifano ambayo hufanya oparesheni za kamba.

* Permutation
* Mzunguko

- [[https://www.ardanlabs.com/training/individual-on-demand/ultimate-go-bundle/][Watch The Video]]
- Need Financial Assistance, Use Our [[https://www.ardanlabs.com/scholarship/][Scholarship Form]]
- [[https://www.ardanlabs.com/training/individual-on-demand/ultimate-go-bundle/][Tazama video]]
- Ukihitaji udhamini wa kifedha, tumia tuvuti [[https://www.ardanlabs.com/scholarship/][Fomu ya udhamini]]

The sample program implements a check to see if a string is a
permutation or not.
Programu ya sampuli hutekeleza hundi ili kuona ikiwa kamba ni
Kuenea au la.

- See more at [[https://en.wikipedia.org/wiki/Permutation][https://en.wikipedia.org/wiki/Permutation]]
- Mengi kwenye [[https://en.wikipedia.org/wiki/Permutation][https://en.wikipedia.org/wiki/Permutation]]

*Diagram*
*Mchoro*

The permutation of a string is the set of all strings that contains the
same characters without the order of the arrangement of the characters
mattering.
Mzunguko wa kamba ni seti ya kamba zote ambazo zina
wahusika sawa bila utaratibu wa mpangilio wa wahusika
ya jambo.

┌───┐┌───┐┌───┐
│ G ││ O ││ D │ ──────┐
└───┘└───┘└───┘ │ ────▷ Permutation
└───┘└───┘└───┘ │ ────▷ Mzunguko
┌───┐┌───┐┌───┐ │
│ D ││ O ││ G │ ──────┘
└───┘└───┘└───┘

┌───┐┌───┐┌───┐
│ G ││ O ││ D │ ──────┐
└───┘└───┘└───┘ │ ────▷ NO
└───┘└───┘└───┘ │ ────▷ La
┌───┐┌───┐ │
│ D ││ O │ ──────┘
└───┘└───┘

┌───┐┌───┐┌───┐
│ 1 ││ 0 ││ 0 │ ──────┐
└───┘└───┘└───┘ │ ────▷ Permutation
└───┘└───┘└───┘ │ ────▷ Mzunguko
┌───┐┌───┐┌───┐ │
│ 0 ││ 0 ││ 1 │ ──────┘
└───┘└───┘└───┘
Expand All @@ -42,22 +42,21 @@ permutation or not.

* Palindrome

The sample program implements a check to see if a string is a
palindrome or not.
Programu ya sampuli hutekeleza hundi ili kuona ikiwa kamba ni
Palindrome au la.

- See more at [[https://en.wikipedia.org/wiki/Palindrome][https://en.wikipedia.org/wiki/Palindrome]]
- Mengi kwenye [[https://en.wikipedia.org/wiki/Palindrome][https://en.wikipedia.org/wiki/Palindrome]]

*Diagram*
*Mchoro*

A palindrome is a word, number, phrase, or other sequence of symbols that
reads the same backwards as forwards.
Palindrome ni neno, nambari, maneno, au mlolongo mwingine wa alama ambazo Soma nyuma sawa na mbele

┌───┐┌───┐┌───┐
│ B ││ O ││ B │ ────▷ Palindrome
└───┘└───┘└───┘

┌───┐┌───┐┌───┐
│ T ││ E ││ D │ ────▷ NO
│ T ││ E ││ D │ ────▷ La
└───┘└───┘└───┘

┌───┐
Expand Down