---
title: "Ubuntu Tang (@UbuntuMeta) | Hashnode"
description: "Dev. Read the latest articles by Ubuntu Tang on Hashnode."
url: "https://hashnode.com/@UbuntuMeta"
---

@UbuntuMeta

# Ubuntu Tang

@UbuntuMeta · Califoria, US · Joined May 2022

Dev

### [Exploring bulkWrite](https://ubuntumeta.hashnode.dev/exploring-bulkwrite?utm_source=hashnode&utm_medium=feed)

MongoDB has many interesting built-in methods, and one of them is bulkWrite, which allows batch processing of write operations in a specified order. This method has been available since version 3.2. The syntax of bulkWrite is simple: db.collection.bu...

2 min read · [ubuntumeta.hashnode.dev](https://ubuntumeta.hashnode.dev/exploring-bulkwrite?utm_source=hashnode&utm_medium=feed)

[Jun 8, 2023](https://hashnode.com/posts/exploring-bulkwrite/6481facf210d79df423fc036)

### [How to choose Math.ceil and Math.floor correctly](https://ubuntumeta.hashnode.dev/how-to-choose-mathceil-and-mathfloor-correctly?utm_source=hashnode&utm_medium=feed)

Many times we want to calculate something by dividing operations.But we might get a float value as a result, for example, 5 / 2 = 2.5. In javascript, we have Math.ceil and Math.floor method to use. They have a huge difference from each other. The Mat...

1 min read · [ubuntumeta.hashnode.dev](https://ubuntumeta.hashnode.dev/how-to-choose-mathceil-and-mathfloor-correctly?utm_source=hashnode&utm_medium=feed)

[May 30, 2023](https://hashnode.com/posts/how-to-choose-mathceil-and-mathfloor-correctly/647609ca087a143589e18e55)

### [Zigzag conversion](https://ubuntumeta.hashnode.dev/zigzag-conversion?utm_source=hashnode&utm_medium=feed)

Here is the solution of python: lass Solution: def convert(self, s: str, numRows: int) -> str: if numRows == 1 or numRows >= len(s): return s # Create an empty list to hold characters in each row rows = \[''\] ...

1 min read · [ubuntumeta.hashnode.dev](https://ubuntumeta.hashnode.dev/zigzag-conversion?utm_source=hashnode&utm_medium=feed)

[Apr 25, 2023](https://hashnode.com/posts/zigzag-conversion/6447f8171d736eb3207e5ced)

### [Expand way to solve longest palindrome string](https://ubuntumeta.hashnode.dev/expand-way-to-solve-longest-palindrome-string?utm_source=hashnode&utm_medium=feed)

Let's continue to talk about the longest palindrome sub string question.The brute force way take has poor performance. We can consider expanding a specific position from a string to find the longest palindrome sub-string.Look for each character and c...

2 min read · [ubuntumeta.hashnode.dev](https://ubuntumeta.hashnode.dev/expand-way-to-solve-longest-palindrome-string?utm_source=hashnode&utm_medium=feed)

[Mar 29, 2023](https://hashnode.com/posts/expand-way-to-solve-longest-palindrome-string/6423fcd3b8639f099651025d)

### [Brute way to solve longest palindrome substring question](https://ubuntumeta.hashnode.dev/brute-way-to-solve-longest-palindrome-substring-question?utm_source=hashnode&utm_medium=feed)

The longest palindrome substring is an interesting question in computer science.Many people solve it in different ways. Today I will introduce the most direct way, the brute force solution to handle this problem.Actually, I wan to write it in javascr...

2 min read · [ubuntumeta.hashnode.dev](https://ubuntumeta.hashnode.dev/brute-way-to-solve-longest-palindrome-substring-question?utm_source=hashnode&utm_medium=feed)

[Mar 29, 2023](https://hashnode.com/posts/brute-way-to-solve-longest-palindrome-substring-question/6423a9cdbca2ff731dcfc513)
