摘要: 阅读全文
posted @ 2017-10-20 22:13 apanda009 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Problem: Given a string, find the lexicographical minimum string keeping the order of alphabets same as the original string.For example: Solution: Thi 阅读全文
posted @ 2017-10-20 21:48 apanda009 阅读(94) 评论(0) 推荐(0) 编辑
摘要: Given an integer array ‘arr[]’ of size n, find sum of all sub-arrays of given array. Examples: If we take a close look then we observe a pattern. Let 阅读全文
posted @ 2017-10-20 21:42 apanda009 阅读(307) 评论(0) 推荐(0) 编辑