Programmers

Programmers

By Software EngineeringTechnology
Download on the App Store

Programmers episodes

  • ๐Ÿช“ Design a Parking Lot - System Design Interview Question
    In a system design interview, you will be asked to design a complex system, such as a website, mobile app, or network infrastructure. The interviewer will evaluate your ability to decompose the problem into smaller subproblems, make trade-offs between different design decisions, and consider the scalability and performance of the final solution. The key to success in a system design interview is to clearly communicate your thought process and trade-offs, rather than getting bogged down in low-level implementation details.
    12 min
  • ๐Ÿ’ฅ Spark DataFrame Cache
    In Apache Spark, you can cache a DataFrame in memory using the cache() or persist() method. The cache() method is a shorthand for persist() with the default storage level of MEMORY_ONLY. You can use the persist() method to specify a different storage level if desired, such as MEMORY_AND_DISK or MEMORY_ONLY_SER.
    6 min
  • n Queens problem LeetCode 51
    The n-queens problem is a well-known problem in computer science and mathematics that involves placing n chess queens on a n x n chessboard such that no two queens are able to attack each other. This means that no two queens can be placed on the same row, column, or diagonal. The problem can be generalized to other chess pieces, such as the n-rooks problem (where the goal is to place n rooks on the board such that no two rooks can attack each other) or the n-knights problem (where the goal is to place n knights on the board such that no two knights can attack each other).
    The n-queens problem is often used as a test case for algorithms that solve combinatorial search problems, as it is a challenging problem that requires careful consideration of the constraints and the search space. There are several ways to solve the n-queens problem, including backtracking algorithms, constraint satisfaction algorithms, and heuristic search algorithms.
    In LeetCode, the n-queens problem is represented as problem 51 and can be found at the following link: https://leetcode.com/problems/n-queens/. The problem asks the user to implement a function that takes in an integer n and returns a list of all valid configurations of n queens on an n x n chessboard. The function should return an empty list if no valid configurations exist.
    7 min
  • ๐Ÿ”ฅ Consistent Hashing
    Consistent Hashing is a distributed hashing scheme that operates independently of the number of servers or objects in a distributed hash table by assigning them a position on an abstract circle, or hash ring. This allows servers and objects to scale without affecting the overall system.
    6 min

About Programmers

From the publisher's feed

Software Engineering Best Practices, System Design, High Scale, Algorithms, Math, Programming Languages, Statistics, Machine Learning, Databases, Front Ends, Frameworks, Low Level Machine Structure,โ€ฆ