Explore tweets tagged as #sortedset
I made a new course on building real-time apps with @momentohq. It includes three complete demo apps:.* Leaderboard service using Momento cache (using its SortedSet collection).* Real-time notification system using Momento topics (sending updates from backend to frontend).*
2
7
30
`SortedSet` is a hidden Ruby class provided by the `'set'` library! 🤩. Join RubyCademy to explore its unique features!.Start your learning journey → #rubyonrails
3
10
91
A: sweetの数を持つ.B: 条件分岐.C: A, B 別にみる.D: 左側の個数を二分探索.E: dp[食べた数][甘さ][しょっぱさ] (辞書で持つ).F: SortedSet + UnionFind.間違いなく過去最高perfだから嬉しい・・・🎉.精進できてなくてUnratedだったけど、そろそろ戻ってもいいかも.#ABC364
1
1
22
#ABC377.4完.A 文字列ソートして判定.B 置ける列、置ける行のリストを作って管理.C 置けないマスをsetで管理.D 区間を右端の小さい順にソート、区間の左端をSortedSetに加えていきながら計算
1
0
5
#ARC195.2完.このゲーム厳しすぎんか?.A DPを思いつくもO(NM)なので、SortedSetを使って計算する範囲を絞ったりcnt>=2になったやつを消し飛ばしたりしてなんとかAC.B 数の出現回数をdictで記録しておいて、dict{i: 「-1を使わずに足してiになる組み合わせが何個作れるか」}を頑張って計算していく
0
0
2
Discover the latest techniques for optimizing SortedSet looping in .NET and boost your code's performance by up to 4,199 times! Dive into the details and enhance your coding skills here: #dotnet #dotnet8 #MVPBuzz #CodePerformance
0
0
0
#ABC370 78分5完.A: 条件分岐.B: indexに気を付けながらやる.C: 怖い S[i] > T[i]を順番早い順に置き換えて、S[i]<T[i]を遅い順に置き換えた.D: SortedSetを(H+W)個持つ.E: その時点で閉じているものと開いているものを数えていく(詳しくは添付画像で).久しぶりの青perf~次でHighest更新頑張ります
1
0
13