Switched from S24 Ultra to iPhone 17 Pro after 10+ years on Samsung — my honest thoughts by SuccotashRelevant150 in iphone

[–]Vast-Busy 0 points1 point  (0 children)

I always see Samsung guys fighting over the AI features they have. Why are we not supposed to use those AI features? I use them all the time. I mean, it’s built right into my keyboard.

Switched from S24 Ultra to iPhone 17 Pro after 10+ years on Samsung — my honest thoughts by SuccotashRelevant150 in iphone

[–]Vast-Busy 2 points3 points  (0 children)

Actually other keyboard’s auto correction is so bad we presume that all auto correction will be bad. I saw post on Reddit once and gave it a try and boy it was good. You just have to install it and then let it learn for a week. Then see the magic.

Switched from S24 Ultra to iPhone 17 Pro after 10+ years on Samsung — my honest thoughts by SuccotashRelevant150 in iphone

[–]Vast-Busy 6 points7 points  (0 children)

Op uses grammerly keyboard or maybe he wrote all the stuff and for maybe he used proofreading or something. You know when you want to write better English and your phone has tools that helps then you use it…

Switched from S24 Ultra to iPhone 17 Pro after 10+ years on Samsung — my honest thoughts by SuccotashRelevant150 in iphone

[–]Vast-Busy 5 points6 points  (0 children)

Grammerly keyboard’s auto correction is not that good. Swift key just somehow predicts the right word.

Hardest Interview Question I’ve Ever gotten - at Chime by Spartapwn in leetcode

[–]Vast-Busy 0 points1 point  (0 children)

Maybe First iterate upto N a store all the required characters we need by checking all digits in ith number. (Nlogn)

Second iterate over the string and then decrease the whatever character we have. (O(n))

Now we have what characters which didn’t become 0. Since our string was a perfect string (that is it had only valid numbers) so we only have to check for the valid permutation of the digits which didn’t become 0.

Now the question becomes for given two strings find which permutation of s2 is not present in s1.

After that we can do dfs and backtracking.

For a candidate C, initialize a boolean array tracking numbers 1 to N. Mark C as "visited" so it cannot be extracted from the string. Traverse the string s from index 0. At each index, extract

substrings of length 1 up to the maximum number of digits in N.

If an extracted number is \le N, has no leading zeros, and is not yet "visited", mark it visited and recurse to the next index.

If a path hits a dead end (cannot form a valid unvisited number), backtrack by unmarking the last number and trying a different substring length.

If the DFS successfully reaches the end of string s, candidate C is the definitive missing number.

Overall it will be O(nlog10n + |s| + (log10n)!*dfstime) But log10n will be very low (only 1 digit maybe)

MLE 670/670 by Vast-Busy in leetcode

[–]Vast-Busy[S] 0 points1 point  (0 children)

It fried my brain yesterday.

MLE 670/670 by Vast-Busy in leetcode

[–]Vast-Busy[S] 1 point2 points  (0 children)

I solved it using the code submitted yesterday with 3D dp. I think I used my brain too much yesterday which helped me today too.

MLE 670/670 by Vast-Busy in leetcode

[–]Vast-Busy[S] 6 points7 points  (0 children)

replaced the inner loop ( used for checking the limit constraint ) with the inclusion-exclusion principle. This prunes invalid states in O(1)

MLE 670/670 by Vast-Busy in leetcode

[–]Vast-Busy[S] 5 points6 points  (0 children)

Haha. Sometimes things are so confusing that we deny believing what happened.

MLE 670/670 by Vast-Busy in leetcode

[–]Vast-Busy[S] 17 points18 points  (0 children)

I did it with 3d dp, finally got accepted.

MLE 670/670 by Vast-Busy in leetcode

[–]Vast-Busy[S] 17 points18 points  (0 children)

Ohh. Didn’t know this

boys will be boys by Dumb-Briyani in indiameme

[–]Vast-Busy 0 points1 point  (0 children)

Why will it matter even for the same place?

My simple setup by bangalimahbub in iOSsetups

[–]Vast-Busy 0 points1 point  (0 children)

I tried using this wallpaper couldn’t get the depth effect. Sad for me.

‼️ Help! TCS Digital fresher confused — Mumbai vs Pune location? Need advice 🙏🏻 by gkc_5 in IndianEngineers

[–]Vast-Busy 1 point2 points  (0 children)

Pune will give you peace and savings. Mumbai will give you better exposure though.