In this post, I will put all iterative solution of traversals (preorder, inorder, postorder) together for better understanding.

Leetcode No.94 Binary Tree Inorder Traversal
Leetcode No.144 Binary Tree Preorder Traversal
Leetcode No.145 Binary Tree Postorder Traversal
Continue reading

Problem description:

Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2.

You have the following 3 operations permitted on a word:
Insert a character
Delete a character
Replace a character

Continue reading

Serializable

in Java

Serialization

Serialization is the process of translating data structures or object state into a format that can be stored (for example, in a file or memory buffer) or transmitted (for example, across a network connection link) and reconstructed later (possibly in a different computer environment).
Continue reading

  • page 1 of 1
Author's picture

Andres Wang

I’m currently a CS grad student in GWU.


student


Washington, DC