Bhaskar

1.2K posts

Bhaskar banner
Bhaskar

Bhaskar

@JoshraK_4K

SWE at ICRA Analytics | Life, Code, Chai, Game and Chill

Kolkata Katılım Şubat 2022
453 Takip Edilen128 Takipçiler
Sabitlenmiş Tweet
Bhaskar
Bhaskar@JoshraK_4K·
When in doubt, remember why you started.......
English
2
1
5
1.8K
Bhaskar
Bhaskar@JoshraK_4K·
I've a doubt. How Truecaller are giving notifications of my grow/gpay/other finance apps? How does he know when my autopay scheduled is/my money gets credited/debited? TBH, I don't think any reason of Truecaller is accessing data of other apps except those for which it was made?
English
2
0
0
57
Bhaskar
Bhaskar@JoshraK_4K·
@riti2409 And that too is ours day.. Majdoor divas :)
English
0
0
0
26
Riti Kumari
Riti Kumari@riti2409·
Nothing makes me more happy than realising today is friday 🫶🏻
English
2
1
15
959
Bhaskar retweetledi
alexei
alexei@alexeixbt·
that one guy in every family:
English
146
3.2K
27.8K
937.1K
Bhaskar retweetledi
Priyansh Agarwal
Priyansh Agarwal@Priyansh_31Dec·
Problem: Given a sorted arrays of size N, find 2 indices i and j, such that a[i] + a[j] = X Algorithm that almost everyone memorises: i = 0, j = n - 1 while(i <= j) if(a[i] + a[j] = X) ans = {i, j}, break else if(a[i] + a[j] > X) j-- else i++ Why does it work? Think about the answer being a cell (i, j) in the grid in image. Red cells can never be the answer. Now, start at top right of the grid. If a[i] + a[j] > X, eliminate column by doing j-- If a[i] + a[j] < X, eliminate row by doing i++ You see how you will always get to your answer? At the end of the day, you can either use math or some clever visualisations to fully understand an algorithm. As you gain more experience in competitive programming, you should prefer math. As a beginner visualisations also work really well.
Priyansh Agarwal tweet media
English
4
6
187
12.5K
Bhaskar
Bhaskar@JoshraK_4K·
@sparrow_harsh Try implementing a system where Undo and Redo feature is present
English
0
0
0
21
Harsh Vardhan
Harsh Vardhan@sparrow_harsh·
I’ve been coding for 4–5 years and never used a deque. Today I saw most top-ranked solutions used it, and the code looked much simpler. Any good problems to practice deque? #leetcode
English
1
0
4
141
Master Muskan
Master Muskan@MasterMuskan22·
700 followers hone ke liye kya post Krna pdta hai?
Indonesia
8
0
15
915
Master Muskan
Master Muskan@MasterMuskan22·
@JoshraK_4K Bike to khareed liya, back seat par to koi baith nhi rhi 🌚🌚
English
2
0
2
39
Master Muskan
Master Muskan@MasterMuskan22·
My current team is new and we are building it up from scratch. I'm the first one to join the team. It feels great to get ownership of many things. Hope it'll be a good time.
English
3
0
15
833