题目描述

There are n servers numbered from 0 to n-1 connected by undirected server-to-server connections forming a network where connections[i] = [a, b] represents a connection between servers a and b. Any server can reach any other server directly or indirectly through the network.

A critical connection is a connection that, if removed, will make some server unable to reach some other server.

Return all critical connections in the network in any order.

Read more »

1、前言

利用GitHub page的功能可以十分方便的设计出一个美观的个人博客,我的一些非CS的同学都有,这篇文章大概用来记录一些配置过程中踩到的坑,以后,如果有需要会逐步扩展,网上内容七零八碎,我在这里做个整合,供日后查阅,并且就权当刚建好blog的一次试水博文

Read more »

前言

本文是对CMU 15213第一部分,信息的表示与处理的一个个人笔记和总结,主要包括计算机内整数的表示和浮点数的表示。

众所周知,计算机里对数字的表示方式是用二进制,显然,这与人类的习惯和直觉并不相符,根据Professor Bryant上课的说法,最早的计算机的确有人尝试过十进制,但后来发现,如果采用十进制表示数字,只能使用模拟信号处理,而模拟信号并不如数字信号准确和稳定,于是人们逐渐抛弃了其他进制的表示方法,而采用二进制。

Read more »

题目描述

A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one part, and return a list of integers representing the size of these parts.

Read more »