<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Nhóm3_CTDL&amp;T by nguyen hiep</title>
      <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2025-05-23 10:21:38 UTC</pubDate>
      <lastBuildDate>2025-05-30 05:47:42 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Thành viên</title>
         <author>nguyenhuuhiep386</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3464763493</link>
         <description><![CDATA[<p>Nguyễn Hữu Hiệp</p><p>Trường Công Minh Hải</p><p>Phạm Bảo Hân</p><p>Huỳnh Ngọc Huy</p><p>Đặng Thái Nguyên</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-23 10:30:01 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3464763493</guid>
      </item>
      <item>
         <title>Thuật toán xử lí chuỗi</title>
         <author>nguyenhuuhiep386</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3464770749</link>
         <description><![CDATA[<p>I.Tìm kiếm chuỗi ()</p><p>II. Đổi sánh mẫu ()</p><p>III.Sắp xếp bằng trộn ()</p><p>IV.Nén tập tin ()</p><p>V.Mật mã ()</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-23 10:37:58 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3464770749</guid>
      </item>
      <item>
         <title>III. Sắp xếp bằng trộn</title>
         <author></author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3464994857</link>
         <description><![CDATA[<ul><li><p>Input: Một mảng chưa sắp xếp</p></li><li><p>Output: Mảng đã sắp xếp tăng dần</p></li></ul><ol><li><p>Trình bày thuật toán:&nbsp;</p></li></ol><ul><li><p>Nếu mảng có nhiều hơn 1 phần tử: Chia mảng thành 2 nửa trái và phải cho đến khi 1 mảng có 1 phần tử thì dừng chia.</p></li><li><p>Gọi đệ quy sắp xếp mỗi nửa.</p></li><li><p>Trộn hai mảng con đã sắp xếp lại thành một mảng kết quả.</p></li></ul><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-23 14:28:21 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3464994857</guid>
      </item>
      <item>
         <title>2. Minh họa thuật toán</title>
         <author>hanphamdn2006</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3465614012</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1337648779/5a52709ae724982acd751f6973ae3306/image.png" />
         <pubDate>2025-05-24 12:46:25 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3465614012</guid>
      </item>
      <item>
         <title>V. Mật mã</title>
         <author></author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3465767532</link>
         <description><![CDATA[<ul><li><p><strong>Input</strong>: Một chuỗi ký tự (văn bản) cần mã hóa.</p></li><li><p><strong>Output</strong>: Chuỗi đã được mã hóa (hoặc giải mã).</p><p><strong>1. Trình bày thuật toán</strong></p><p><strong>Mật mã Caesar (mã hóa dịch vòng):</strong></p><ul><li><p>Dịch từng ký tự trong chuỗi theo một số bước nhất định (gọi là khóa).</p></li><li><p>Ví dụ: Với khóa = 3, chữ cái ‘A’ sẽ thành ‘D’, ‘B’ thành ‘E’, v.v...</p></li><li><p>Để giải mã, chỉ cần dịch ngược lại.</p></li></ul></li></ul>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-24 18:42:49 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3465767532</guid>
      </item>
      <item>
         <title>2. Minh họa thuật toán</title>
         <author></author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3465772511</link>
         <description><![CDATA[<p><strong>Chuỗi ban đầu</strong>: "HELLO"<br><strong>Khóa mã hóa</strong>: 3</p><p><br></p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3888928357/cd6e2bd92d719a0d791c22d2fb3eff62/z6635999137407_102d2603846d03e0c474fd0e209504a1.jpg" />
         <pubDate>2025-05-24 18:58:28 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3465772511</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3465772769</link>
         <description><![CDATA[<p>Giải mã (với khóa = 3)</p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3888928357/c69319a6c1c36d714b00a565c9c9c0ab/z6635999172449_9b45fe976551e3f5a5f383b26ffe2de6.jpg" />
         <pubDate>2025-05-24 18:59:26 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3465772769</guid>
      </item>
      <item>
         <title>1. Trình bày thuật toán:</title>
         <author>conconghai2</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466009353</link>
         <description><![CDATA[<p>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Nhập vào một chuỗi văn bản và một chuỗi mẫu cần tìm.</p><p>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Xét từng vị trí bắt đầu trong chuỗi văn bản (từ trái sang phải) sao cho còn đủ độ dài để chứa mẫu.</p><p>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tại mỗi vị trí, so sánh từng ký tự của mẫu với phần tương ứng trong văn bản.</p><p>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Nếu toàn bộ ký tự đều trùng khớp → ghi nhận là đã tìm thấy mẫu tại vị trí đó.</p><p>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Nếu có một ký tự không khớp, thì bỏ qua vị trí này và tiếp tục với vị trí tiếp theo.</p><p>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lặp lại cho đến khi hết các vị trí có thể trong văn bản.</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-25 08:22:02 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466009353</guid>
      </item>
      <item>
         <title>2. Minh họa thuật toán:</title>
         <author>conconghai2</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466009668</link>
         <description><![CDATA[<p>Day van ban: abcbabc</p><p>Mau can tim: abc</p><p>Qua trinh so sanh:</p><p>i=1: abc → Khớp</p><p>i=2: bcb → Không khớp</p><p>i=3: cba → Không khớp</p><p>i=4: bab → Không khớp</p><p>i=5: abc → Khớp</p><p>Kết quả:</p><p>Tim thay mau tai vi tri: 1</p><p>Tim thay mau tai vi tri: 5</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-25 08:22:55 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466009668</guid>
      </item>
      <item>
         <title>3. Cài đặt thuật toán:</title>
         <author>conconghai2</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466010633</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/3169853874/86d1b3004d28156b8f8c9d4e27c82d6e/image.png" />
         <pubDate>2025-05-25 08:25:00 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466010633</guid>
      </item>
      <item>
         <title>II. Đối sánh mẫu:</title>
         <author>conconghai2</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466011477</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2025-05-25 08:26:04 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466011477</guid>
      </item>
      <item>
         <title>I.Tìm kiếm chuỗi</title>
         <author>nguyenhuuhiep386</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466186880</link>
         <description><![CDATA[<p><strong>         Input:</strong></p><ul><li><p>Một chuỗi văn bản (gọi là <strong>chuỗi nguồn</strong>).</p></li><li><p>Một chuỗi nhỏ cần tìm (gọi là <strong>chuỗi con</strong>).</p><p> <strong>Output:</strong></p></li><li><p>Vị trí đầu tiên mà chuỗi con xuất hiện trong chuỗi nguồn (tính từ 0).</p></li><li><p>Nếu không tìm thấy thì trả về <strong>-1</strong>.</p></li></ul>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-25 14:23:15 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466186880</guid>
      </item>
      <item>
         <title>1. Trình bày thuật toán</title>
         <author>nguyenhuuhiep386</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466187275</link>
         <description><![CDATA[<ul><li><p>Duyệt từng vị trí i trong chuỗi nguồn, từ 0 đến (độ dài chuỗi nguồn - độ dài chuỗi con).</p></li><li><p>Tại mỗi vị trí i:</p><ul><li><p>So sánh từng ký tự của chuỗi con với các ký tự tương ứng trong chuỗi nguồn (bắt đầu từ vị trí i).</p></li><li><p>Nếu <strong>tất cả ký tự khớp</strong>, trả về vị trí i.</p></li></ul></li><li><p>Nếu duyệt hết mà không khớp, trả về <strong>-1</strong> (không tìm thấy chuỗi con).</p></li></ul>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-25 14:23:55 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466187275</guid>
      </item>
      <item>
         <title>2.Minh họa thuật toán</title>
         <author>nguyenhuuhiep386</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466191247</link>
         <description><![CDATA[<p>ay van ban: abcbabc</p><p>Mau can tim: abc</p><p>Qua trinh so sanh:</p><p>i=1: abc → Khớp</p><p>i=2: bcb → Không khớp</p><p>i=3: cba → Không khớp</p><p>i=4: bab → Không khớp</p><p>i=5: abc → Khớp</p><p>Kết quả:</p><p>Tim thay mau tai vi tri: 1</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-25 14:30:41 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466191247</guid>
      </item>
      <item>
         <title>3. Cài đặt thuật toán</title>
         <author>nguyenhuuhiep386</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466192727</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3195133101/680e75dde955fd7fea7b12577446fade/image.png" />
         <pubDate>2025-05-25 14:33:10 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466192727</guid>
      </item>
      <item>
         <title>IV. Nén tập tin </title>
         <author></author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466223698</link>
         <description><![CDATA[<ul><li><p>input: nhập dữ liệu nén</p></li><li><p>output: in ra kết quả dữ liệu đã được nén</p></li></ul>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-25 15:26:06 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466223698</guid>
      </item>
      <item>
         <title>1. Trình bày thuật toán:</title>
         <author></author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466226041</link>
         <description><![CDATA[<ul><li><p>Duyệt qua từng ký tự trong chuỗi đầu vào.</p></li><li><p>Nếu ký tự hiện tại giống ký tự tiếp theo → tăng biến đếm.</p></li><li><p>Nếu khác → ghi lại ký tự đó và số lần lặp, sau đó đặt biến đếm về 1.</p></li><li><p>Tiếp tục cho đến hết chuỗi.</p></li></ul>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-25 15:30:46 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466226041</guid>
      </item>
      <item>
         <title>2. Minh hoạ thuật toán:</title>
         <author></author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466250579</link>
         <description><![CDATA[<ul><li><p>Ta có dữ liệu ban đầu là: </p></li></ul><p>            “aaaaabbbbcccttttrrrree”</p><ul><li><p>Khi có một chữ cái giống nhau lặp lại liên tục, mình chỉ cần ghi chữ đó và số lần nó lặp lại.Như vậy sẽ ngắn hơn và dễ nhớ hơn </p></li><li><p>Ta sẽ có chuỗi như sau:</p><p>"a" xuất hiện 5 lần → ghi thành: “a5”</p><p>"b" xuất hiện 4 lần → ghi thành: “b4”</p><p>"c" xuất hiện 3 lần → ghi thành: “c3”</p><p>"t" xuất hiện 4 lần → ghi thành: “t4”</p><p>"r" xuất hiện 4 lần → ghi thành: “r4”</p><p>"e" xuất hiện 2 lần → ghi thành: “e2”</p></li><li><p>Ta có kết quả đã nén là:</p><p>            “a5b4c3t4r4e2”</p><p><br></p></li></ul>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3891375817/9f70a005ce6bdea6a7c82c2a2fb93329/image.jpg" />
         <pubDate>2025-05-25 16:18:11 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466250579</guid>
      </item>
      <item>
         <title>3. Cài đặt thuật toán:</title>
         <author></author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466254804</link>
         <description><![CDATA[<p>#include &lt;stdio.h&gt;</p><p>#include &lt;string.h&gt;</p><p>void nenChuoiRLE(char dauVao[], char ketQua[])</p><p> {</p><p>    int doDai = strlen(dauVao);</p><p>    int dem = 1;</p><p>    int viTri = 0;</p><p>    for(int i = 0; i &lt; doDai; i++) </p><p>{</p><p>        if(dauVao[i] == dauVao[i + 1])</p><p> {</p><p>            dem++;</p><p>        } </p><p>else </p><p>{</p><p>            ketQua[viTri++] = dauVao[i]; </p><p>           </p><p>            ketQua[viTri++] = dem + '0'; </p><p>            dem = 1;</p><p>        }</p><p>    }</p><p>    ketQua[viTri] = '\0'; </p><p>}</p><p>int main() </p><p>{</p><p>    char chuoiGoc[100];</p><p>    char chuoiNen[200];</p><p>    printf("Nhap chuoi can nen: ");</p><p>    gets(chuoiGoc);</p><p>    nenChuoiRLE(chuoiGoc, chuoiNen);</p><p>    printf("Chuoi sau khi nen: %s\n", chuoiNen);</p><p>    return 0;</p><p>}</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-05-25 16:26:44 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3466254804</guid>
      </item>
      <item>
         <title>3.Cài đặt thuật toán</title>
         <author>catraconnguyen76</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3473556044</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/3909584838/24fd01ac6bc5c46e804c55f60448de01/_nh_ch_p_m_n_h_nh_2025_05_30_123345.png" />
         <pubDate>2025-05-30 05:30:19 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3473556044</guid>
      </item>
      <item>
         <title>3. Cài đặt thuật toán</title>
         <author>hanphamdn2006</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3473576855</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/1337648779/5c48386bd3fbbfc41c3ad9a6ed3861de/image.png" />
         <pubDate>2025-05-30 05:47:41 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3473576855</guid>
      </item>
      <item>
         <title></title>
         <author>hanphamdn2006</author>
         <link>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3473576967</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads-usc1.storage.googleapis.com/1337648779/5b43e32c8918917cc1f3929d62a9b89c/image.png" />
         <pubDate>2025-05-30 05:47:48 UTC</pubDate>
         <guid>https://padlet.com/nguyenhuuhiep386/kg40uhv5iiuzzw7n/wish/3473576967</guid>
      </item>
   </channel>
</rss>
