First tried the greedy approach done one submission wrong, then realized the correct approach but yes the question was absolutely good , give good brainstorming. #100daysofcoding#DSA
Today's question was tricky! Initially tried a visited approach: set visited to 0, checked row/col sums for 0. Worked for 1056/1058 cases. Realized the flaw, switched to precomputing positionsβgot it right! π― #CodingJourney#ProblemSolving#DSA#Networking
Can't post in this week because busy in the Azure Developer Day , visited the Microsoft office gained the insights how the things works and lot more fun. Comment or dm if someone want to talk about it.π
#Microsoft#Azure#Cloud#Travel#fun#tech#Tech4All#MEETUPS
Xorify Question and Horrify solution , take a bit to think that how get optimuzed from t.c O(n*m) and s.c. O(1) but finally solve but the interesting part is that if the length is odd then only contribute #DSA#Programming#Coding#Problemsolved#Journey#tech