Forwarded from Farrukh's log (Farrux Mamatxalilov)
https://30secondsofknowledge.com/ brauzer uchun kerakli extension
30 Seconds Of Knowledge
Learn to code faster! Get bite-sized coding knowledge with high-quality snippets on every new tab. Master JavaScript, Python, React, and more.
My simple solution to today's question 49. Group anagrams in LeetCode:
class Solution {
public:
string hash(string s){
string res('*',29);
for(char c:s)
res[c-97]++;
return res;
}
vector<vector<string>> groupAnagrams(vector<string>& strs) {
vector<vector<string>> res;
unordered_map<string,vector<string>> mp;
for(int i=0;i<strs.size();i++){
mp[hash(strs[i])].push_back(strs[i]);
}
for(auto v:mp)
res.push_back(v.second);
return res;
}
};🔥3
Forwarded from C/C++ Programming (Rustam)
Hello guys 👋
I have a quick question and I need all of your answers! I have a plan to add `To Do list` service feature to ProgReference.com for managing daily tasks. Do you want to use it to improve your productivity?
I have a quick question and I need all of your answers! I have a plan to add `To Do list` service feature to ProgReference.com for managing daily tasks. Do you want to use it to improve your productivity?
Anonymous Poll
82%
Yes, I will definitely use
13%
Maybe, because I already use another site
5%
No, I'm not interested in such stuff
Forwarded from xumpar
AI gives you answers, but the knowledge you gain is shallow. With StackOverflow, you had to read multiple expert discussions to get the full picture. It was slower, but you came out understanding not just what worked, but why it worked.
Think about every great developer you know. Did they get that good by copying solutions? No—they got there by understanding systems deeply and understanding other developers’ thought processes. That’s exactly what we’re losing.
https://nmn.gl/blog/ai-and-learning
👍2
Context-switching is the main productivity killer of developers 📊
https://newsletter.techworld-with-milan.com/p/context-switching-is-the-main-productivity
https://newsletter.techworld-with-milan.com/p/context-switching-is-the-main-productivity
Techworld-With-Milan
Context-switching is the main productivity killer for developers
I am programmer, interrupted.
👍2💯1
EssentialC.pdf
85.1 KB
Stanford CS Education Library
This is document #101, Essential C, in the Stanford CS Education Library.
This is document #101, Essential C, in the Stanford CS Education Library.
👍3
🖥 GooeyGUI is a lightweight library for creating graphical user interfaces (GUI) in the C language!
🌟 It was originally developed for X11 environments but now supports cross-platform functionality. GooeyGUI provides a wide range of customizable widgets, such as buttons, sliders, dropdown menus, and text fields, as well as flexible layouts, including horizontal, vertical, and grid-based arrangements.
🔐 License: GPL-3.0
⚙️ Source
🌟 It was originally developed for X11 environments but now supports cross-platform functionality. GooeyGUI provides a wide range of customizable widgets, such as buttons, sliders, dropdown menus, and text fields, as well as flexible layouts, including horizontal, vertical, and grid-based arrangements.
🔐 License: GPL-3.0
Please open Telegram to view this post
VIEW IN TELEGRAM
👍7🤯1