Forwarded from JS Globe
#javanoscript
🇺🇸 is JavaScript interpreted or compiled?
🇺🇿JavaScript interpreted tilmi yoki compiled?
@JavaScript_NodeJS_Globe
🇺🇸 is JavaScript interpreted or compiled?
🇺🇿JavaScript interpreted tilmi yoki compiled?
@JavaScript_NodeJS_Globe
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