Prog Reference – Telegram
Что выведет консоль?

What will be the console output?

#cpp
?
Anonymous Quiz
56%
Null
24%
1
20%
0
Forwarded from JS Globe
#mern
MERN stack va uni bitta web dastur sifatida ishga tushirish.

@JavaScript_NodeJS_Globe
👍1🔥1
Forwarded from JS Globe
#javanoscript
🇺🇸 is JavaScript interpreted or compiled?

🇺🇿JavaScript interpreted tilmi yoki compiled?

@JavaScript_NodeJS_Globe
👍3🤔2
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?
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