Sort by

recency

|

18 Discussions

|

  • + 0 comments

    def coveringStains(k, coordinates): def get_bound(coords): mi_x,mi_y = float("inf"), float("inf") ma_x,ma_y = float("-inf"), float("-inf")

        for x,y in coords:
            mi_x = min(mi_x, x)
            ma_x = max(ma_x, x)
            mi_y = min(mi_y, y)
            ma_y = max(ma_y, y)
    
        return mi_x, mi_y, ma_x, ma_y
    
    bound = get_bound(coordinates)
    n = len(coordinates)
    count=0
    
    for combo in combinations(coordinates, n-k):
        combo_bound = get_bound(combo)
        if combo_bound != bound:
            count+=1
    
    return count 
    
  • + 0 comments

    Here is my solution in java, javascript, python, C, C++, Csharp HackerRank Covering the stains Problem Solution

  • + 0 comments

    Here is Covering the stains problem solution - https://programs.programmingoneonone.com/2021/07/hackerrank-covering-the-stains-problem-solution.html

  • + 2 comments

    I often have guests over, all of us do not fit in my living room. I'm thinking of buying a large sectional sofa, can you tell me where I can get one? Only that it was not made of slats, but a full-fledged spring block.

    • + 1 comment

      A full-fledged spring unit will cost much more than a frame using slats. Well, it all depends on what kind of upholstery material will be used.

      • + 1 comment

        I do not care about the price tag, I want to buy a quality sofa that will serve us for many years and that he was very comfortable. I'm tired of buying cheap sofas that break quickly.

        • + 0 comments

          We found a good selection of modern sectionals https://www.roomservice360.com/modern-living-room-furniture/sectional-sofas.html, they have a very large catalog. The quality of the sofas is excellent, they use good wood and high quality rattan. A very large selection of colors. You can also choose any configuration for yourself. It was worthy of respectful communication of the manager to the client, who did not impose the goods, explaining all the nuances and helped to choose the goods

    • + 0 comments

      Did you get it? share photos we're curious

  • + 0 comments

    Eliminating Slipper Stains Do you work as an upholsterer or textile restorer, or do you just appreciate fine antique furniture? Regardless of your field of Homemade cleaning solution expertise, you need to be aware of the potential dangers of stains caused by slippers. Slipper stains can be disastrous to any antique furniture and should be handled as soon as possible. Sometimes the stains may go unnoticed, and then they will start to take over and ruin other parts of the furniture. To avoid this, you should take a few precautions and do your best to care for and protect your furniture. One way to care for your furniture is to consider purchasing a set of slipper pouches.