Prog Reference – Telegram
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
🔥4
EssentialC.pdf
85.1 KB
Stanford CS Education Library
This is document #101, Essential C, in the Stanford CS Education Library.
👍3
A project in which the developer created a simplified analogue of Photoshop in C from scratch.

The author shares technical details of the implementation of the graphic editor, including working with images, the interface and processing algorithms.

📰 Article
⚙️ Source
Please open Telegram to view this post
VIEW IN TELEGRAM
👍4
🖥 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
Please open Telegram to view this post
VIEW IN TELEGRAM
👍7🤯1
Hi guys! Have you ever had a situation where you needed an online JSON to Excel converter and you couldn't find a good one?
Anonymous Poll
53%
No, I haven't needed such tool.
26%
Yes, but I found a great tool
21%
Yes, I still need such service
1
Forwarded from C/C++ Programming (Rustam)
Hi everyone 👋

Recently I started building a utility website which helps users to convert JSON files into Excel files and last week I deployed MVP of it at exceljson.com

I'm actively working on it and improving it! As a result of the above poll I can see that some of you need a great tool for this task, I also have needed one...

I opened another channel @ExcelJson to share my journey on building this website and connect to its core user base, get feedbacks, opinions and ideas.

If you need a great tool to convert JSON files to Excel files, please help me to build one by joining @Exceljson and sharing valuable feedbacks!

👉 @cpp_programming_books
🫡1