Nicole PengComparison sortA comparison sort is a type of sorting algorithm that only reads the list elements through a single abstract comparison operation (often a…Jul 29, 2020Jul 29, 2020
Nicole PengHow to determine the space complexity of recursionThe space complexity is determined by the space occupied. For iterative case, it is straightforward to infer the space complexity from the…Jul 14, 2020Jul 14, 2020
Nicole PengA simple Rails app that allows signing up, signing in, signing outWe can use Rails’ built-in has_secure_password method to build functionalities for users to sign up, sign in and sign out.May 27, 2020May 27, 2020
Nicole PengGet to learn RackRack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses…May 11, 2020May 11, 2020