The hottest Lists Substack posts right now

And their main takeaways
Category
Top Art & Illustration Topics
Technology Made Simple 39 implied HN points 08 Apr 22
  1. The problem revolves around maximizing the average pass ratio in multiple classes by strategically assigning extra students
  2. The key is to calculate the gain from adding a single extra student to each class and then determine which class benefits the most
  3. Breaking down complex problems into specific well-defined subproblems can make them more manageable and easier to solve
Get a weekly roundup of the best Substack posts, by hacker news affinity:
Technology Made Simple 19 implied HN points 18 Mar 22
  1. The problem involves arranging coins in a staircase with specific row numbers, and the solution focuses on finding the maximum number of complete rows that can be built.
  2. The solution involves analyzing the input (number of coins) and output (number of complete rows), and working through a simple approach using math to determine the complete rows.
  3. To improve the solution further, simplifications can be made to optimize the algorithm, aiming for a faster runtime complexity close to square root of n.
Technology Made Simple 19 implied HN points 16 Mar 22
  1. Optimal solutions in coding interviews can impress interviewers and require O(1) time and space complexity.
  2. In a coding problem like this one involving arranging coins in a staircase, understanding the complete rows and incomplete rows is key to solving it.
  3. Preparation for coding interviews, like practicing on Leetcode, can help in tackling similar problems and improving problem-solving skills.