博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
[Interview] string permutation
阅读量:7024 次
发布时间:2019-06-28

本文共 317 字,大约阅读时间需要 1 分钟。

Give a string, which only contains a-z. List all the permutation of upcase and lowcase.
For example, str = "ab",  the output should be
"ab", "aB", "Ab", "AB"
for str = "abc", the output should be
"abc", "abC", "aBc", "aBC", "Abc", "AbC", "ABc", "ABC"
[Thoughts]
首先,

转载于:https://www.cnblogs.com/codingtmd/p/5078862.html

你可能感兴趣的文章
Spring data jpa 分页技术
查看>>
squid简单配置
查看>>
学习Xfire的一些体会
查看>>
python常用模块详解
查看>>
hadoop安装搭建过程中遇到的问题与解决方案
查看>>
ubuntu-16.04.1-server-amd64安装时提示busybox-initramfs软件包错误
查看>>
基本套接字tcp/udp
查看>>
我的友情链接
查看>>
一些思想
查看>>
谷歌明确Fuchsia并非基于Linux内核
查看>>
java关于安卓,苹果输入表情数据库处理
查看>>
c/c++ 中的文件路径表示
查看>>
Java实现二叉树的深度计算
查看>>
Citrix NetScaler的推荐版本
查看>>
快速搭建一个物化视图环境
查看>>
使用docker-compose定制Javaweb环境
查看>>
Android模拟器快捷键大全
查看>>
MooTools源代码导读
查看>>
cogs——7. 通信线路
查看>>
负载均衡集群解决方案 (二)Nginx
查看>>