Giriraj Bidwai’s Post

View profile for Giriraj Bidwai, graphic

Final Year Student | AWS Cloud Practitioner | Google Cloud Digital Leader | Leetcode - Knight(1861) | Codeforces - Pupil(1210) | AtCoder - Brown(692) | Data Engineer | PySpark | SQL | Kafka | AWS | CSE Grad '25

AtCoder Beginner Contest 363 1. How much must be added to round it off to nearest hundred.For example : 137 -> 200. 2. Check greedily is number of person hair length is greater than T.If its greater than P then print 0 else check how many people hair length is greater than T and for remaining P check the person with smallest hair and return T - smallest person hair length. 3. Generate all the permutation of string and check if its substring contain a palindrome of length K then it is not a valid permutation.I used (next_permutation) function to generate possible strings. 4. Tried generating some kind of series but was not able to formulate it much briefly.Need to upsolve. 5.Maintain a priority queue such that it store the boundary cells elevation and coordinates. When the queue's top elevation is less than equal to ith elevation then we will remove and it move in 4 direction to check if adjacent cells can be sink and maintain a counter for submerged cells and marked the cell visited.Got wrong answer as was calculating the submerged cell in wrong order. #atcoder #coding #code #cpp #cp #codeforces #python #maths

  • table
Irfan Ansari

🇮🇳🇮🇳 | SDE Intern @RareLabs | IIITR CSE'26 | Leetcode - Knight | CodeChef 3⭐ | Codeforces(Specialist)

5mo

There's a simple pattern for solving 4th. You may look it up here : https://math.tools/list/palindromes

To view or add a comment, sign in

Explore topics