Leetcode 749 and Leetcode 218 – I tried to solve these 2 problems, but are too tough for me. Can someone help me out on this one?
https://leetcode.com/problems/the-skyline-problem
https://leetcode.com/problems/contain-virus
These are the problem links, can someone help me out with these, I actually don’t understand how the solution works.
write a program to print first x terms of the series 3N + 2 which are not multiples of 4 in python
I want to write a program for printing first x terms of series 3n+2 which are not multiple of 4 in python. For this I have written a code using while loop and it is working fine. then I have again wrote the same code using for loop but it is not giving correct answer.