摘要: Given a class named Range. It represents a range from A (inclusive) to B (exclusive). The class implements the interface Iterable, therefore, an insta 阅读全文
posted @ 2020-09-28 14:39 longlong6296 阅读(98) 评论(0) 推荐(0)
摘要: You're dealing with a string consisting of brackets. Write a program to examine whether the pairs of "{", "}", "(", ")", "[", "]" are correct or balan 阅读全文
posted @ 2020-09-28 12:24 longlong6296 阅读(137) 评论(0) 推荐(0)
摘要: Some info: HTML is a markup language, that is based on tags. There are many types of tags, for example, html, div, h1, h2. Each type of tag has start 阅读全文
posted @ 2020-09-28 11:08 longlong6296 阅读(217) 评论(0) 推荐(0)
摘要: Write a program simulating a stack that can effectively return the current max element. Your program should read a sequence of commands of different t 阅读全文
posted @ 2020-09-28 08:50 longlong6296 阅读(154) 评论(0) 推荐(0)