Nicole Peng·Jul 29, 2020Comparison sortA comparison sort is a type of sorting algorithm that only reads the list elements through a single abstract comparison operation (often a…
Nicole Peng·Jul 14, 2020How 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…
Nicole Peng·May 27, 2020A 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.
Nicole Peng·May 11, 2020Get to learn RackRack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses…