SM'S DEX
2002 Days of Code / 2023-07-06

Day 55

Shivam's LinkedIn update for day 55.

What the post says

#day55 of #1001daysofcode" "As I was travelling today so had to do the question on mobile. I was able to do a single medium question today." "" "Leetcode:" "1551. Minimum Operations to Make Array Equal" "" "The question could be solved by observing the pattern that we have to make the every number equal to the middle number." "And the number of operations can be deduced by thinking or hit and trial." "There was a constant mathematical solution too." "The time complexity was O(n)." "" "#1001daysofcode #dsa #python #java #coding #geeksforgeeks #notion #programming #daily #cpp #learning #complexity

Follow the challenge

Browse the Days of Code journal for selected updates. Shivam's projects show where regular practice connects to shipped software.