摘要:
1. 统计元素出栈可能的顺序 res = [] def dfs(wait, stack, out): if not wait and not stack: res.append( out) if wait: # 入栈 dfs(wait[1:], stack + [wait[0]], out) if 阅读全文
摘要:
字符编码是用于将字符集中的字符转换为二进制数据的方式。以下是常见的字符编码: ASCII编码:American Standard Code for Information Interchange(美国信息交换标准代码),它使用7位二进制数来表示128个字符,ASCII编码最早用于电报通信,包括大小写 阅读全文