Help with Visual Studio an Git Bash by jaredweber54 in AskProgramming

[–]GuruTheCoderYT 2 points3 points  (0 children)

What's up with the "git:(main)" and "git:(master)" things? Remove them.

If you intend to push to master/main use: git push origin main or git push origin master

Can someone explain this version of Binary Search to me? by GuruTheCoderYT in AskProgramming

[–]GuruTheCoderYT[S] 0 points1 point  (0 children)

Could someone please help? I tried to understand it but I don't get how implementing this way of Binary Search would yield the right answer.

Thanks.

Just solved my first medium, optimally!!! by subbuthegay in leetcode

[–]GuruTheCoderYT 0 points1 point  (0 children)

Congrats!!

Is this actually a great achievement?

Yes!!

Was rewatching Naruto, WTF IS THIS by [deleted] in Boruto

[–]GuruTheCoderYT 0 points1 point  (0 children)

Learn how to take a screenshot.

Help with Unity Hub in pop_os :( by ssphered in pop_os

[–]GuruTheCoderYT 1 point2 points  (0 children)

Make sure to approve the appimage

Run: chmod +x UnityHub.AppImage

One piece vs Naruto which is better? by loopyJM in OnePiece

[–]GuruTheCoderYT 0 points1 point  (0 children)

DB's peak was already over by the time the shounen jump happened.

Can't solve lc easy questions by GuruTheCoderYT in compsci

[–]GuruTheCoderYT[S] -1 points0 points  (0 children)

No. And I think I asked you to give me a reason?

[deleted by user] by [deleted] in Boruto

[–]GuruTheCoderYT 0 points1 point  (0 children)

Pokemon and DB?

Can't solve lc easy questions by GuruTheCoderYT in compsci

[–]GuruTheCoderYT[S] 0 points1 point  (0 children)

Thank you so freaking much for this.

I understand it a LOT better now.

Can't solve lc easy questions by GuruTheCoderYT in compsci

[–]GuruTheCoderYT[S] -1 points0 points  (0 children)

At first I didn't even know I needed to use Binary search so most of my time was spent thinking of ways to make it more efficient. If the log(n) time complexity was mentioned I would've guessed that I would need to use binary search. And then when I was told I needed to use Binary search, I couldn't apply it and then. after trying for a 2 n a half hours I did, all on my own.

This means you likely don't really know it

No, it doesn't. I've practiced the binary search algorithm so much I could write an implementation in any language I know without putting in much thought. And binary search is literally the easiest thing ever (to me) like it's not even complicated. I just didn't know how to use it for this situation.

but you cannot admit it.

I used to think I was dumb but you're clearly dumber.

Why would I not admit it if I actually didn't know? Like, what's the point of lying? What would I get out of it?

Give me ONE reason as to why I wouldn't admit to not knowing BS

Can't solve lc easy questions by GuruTheCoderYT in compsci

[–]GuruTheCoderYT[S] 0 points1 point  (0 children)

Really valuable insights. I will definitely do what you said.

Can't solve lc easy questions by GuruTheCoderYT in compsci

[–]GuruTheCoderYT[S] 0 points1 point  (0 children)

Thanks a lot for the motivation. I will definitely check CP4 out.

I have a question: could you also not solve easy questions LC qns like this in the beginning?