
		<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
			<channel>
				<title>TungDaDev&#39;s Blog – stories, insights &amp; ideas</title>
				<link>https://www.tungdadev.com/blog</link>
				<description>A personal space on the cloud where I document my programming journey, sharing lessons, insights and resources for fellow developers.</description>
				<language>vi</language>
				<managingEditor>bthanhtung.ite@gmail.com (TungDaDev)</managingEditor>
				<webMaster>bthanhtung.ite@gmail.com (TungDaDev)</webMaster>
				<lastBuildDate>Sat, 05 Jul 2025 00:00:00 GMT</lastBuildDate>
				<atom:link href="https://www.tungdadev.com/tags/data-structures/feed.xml" rel="self" type="application/rss+xml"/>
				
		<item>
			<guid>https://www.tungdadev.com/blog/bitwise</guid>
			<title>Bitwise trong Java: two&#39;s complement, mẹo lật bit và bitmask</title>
			<link>https://www.tungdadev.com/blog/bitwise</link>
			<description>Đọc source HashMap gặp (n - 1) &amp; hash mà không hiểu nó làm gì? Bảy toán tử bitwise trong Java, số âm bù 2, các mẹo lật bit và cách gom quyền vào một số int.</description>
			<pubDate>Sat, 05 Jul 2025 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>java</category><category>data-structures</category><category>performance</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/iterator-pattern</guid>
			<title>Iterator pattern trong Java: modCount, Spliterator và 10 triệu dòng</title>
			<link>https://www.tungdadev.com/blog/iterator-pattern</link>
			<description>Xoá phần tử trong for-each có khi ném ConcurrentModificationException, có khi lặng lẽ bỏ sót. Mổ xẻ modCount, Spliterator và cách duyệt 10 triệu dòng DB không OOM.</description>
			<pubDate>Sat, 25 Jan 2025 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>design-patterns</category><category>java</category><category>data-structures</category><category>performance</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/leetcode-two-sum</guid>
			<title>LeetCode Two Sum: vì sao HashMap O(N) vẫn chậm trên phần cứng thật</title>
			<link>https://www.tungdadev.com/blog/leetcode-two-sum</link>
			<description>Viết xong Two Sum bằng HashMap, người phỏng vấn hỏi: nhanh hơn được nữa không? Autoboxing, cache miss, primitive hash map nhanh gấp 4 lần, SIMD và số đo JMH.</description>
			<pubDate>Sat, 02 May 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>data-structures</category><category>performance</category><category>java</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/list-arraylist-linkedlist-in-java</guid>
			<title>ArrayList vs LinkedList: vì sao LinkedList hiếm khi nhanh hơn</title>
			<link>https://www.tungdadev.com/blog/list-arraylist-linkedlist-in-java</link>
			<description>Chèn xoá nhiều thì dùng LinkedList? Trên phần cứng thật thì không. Nhìn từ cache line, chi phí Node và GC để biết vì sao ArrayList thắng, và lúc nào nên dùng ArrayDeque.</description>
			<pubDate>Sun, 24 Dec 2023 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>data-structures</category><category>java</category><category>performance</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/list</guid>
			<title>List trong Java: ArrayList, LinkedList và những cái bẫy ít ai để ý</title>
			<link>https://www.tungdadev.com/blog/list</link>
			<description>Arrays.asList rồi add là nổ, giữ một subList nhỏ là giữ cả list gốc. ArrayList, LinkedList chạy thế nào ở tầng bộ nhớ, vì sao LinkedList hay thua và các bẫy đa luồng.</description>
			<pubDate>Sat, 09 Dec 2023 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>data-structures</category><category>java</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/map</guid>
			<title>Map trong Java: HashMap, TreeMap, ConcurrentHashMap chạy thế nào</title>
			<link>https://www.tungdadev.com/blog/map</link>
			<description>Đổi HashMap sang ConcurrentHashMap rồi dính NullPointerException? Bên trong bucket, cây đỏ đen, khoá theo bucket của từng loại Map trong Java, và khi nào chọn loại nào.</description>
			<pubDate>Sat, 23 Dec 2023 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>data-structures</category><category>java</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/stack-queue</guid>
			<title>Stack và Queue trong Java: ArrayDeque, PriorityQueue, BlockingQueue</title>
			<link>https://www.tungdadev.com/blog/stack-queue</link>
			<description>Vẫn viết new Stack&lt;&gt;() hay dùng LinkedList làm queue? Vì sao ArrayDeque thay được cả hai, và khi nào cần PriorityQueue, BlockingQueue, ConcurrentLinkedQueue.</description>
			<pubDate>Sun, 20 Oct 2024 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>data-structures</category><category>java</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/snippets/remove-falsy-values-from-an-object</guid>
			<title>Remove all falsy values from an object and its nested children</title>
			<link>https://www.tungdadev.com/snippets/remove-falsy-values-from-an-object</link>
			<description>Recursively removes all falsy values (null, undefined, 0, false) from an object and its nested properties.</description>
			<pubDate>Wed, 21 Sep 2022 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>javascript</category><category>data-structures</category>
		</item>
	
			</channel>
		</rss>
	