create account

Learn ChatGPT's Mad Code Skills with 100+ Prompts πŸ‘¨β€πŸ’» douglas.life/100p by douglasjames

View this thread on: hive.blogpeakd.comecency.com
· @douglasjames ·
$3.07
Learn ChatGPT's Mad Code Skills with 100+ Prompts πŸ‘¨β€πŸ’» douglas.life/100p
## Attention all Coders!
If you're looking catch up or stay ahead of the curve in AI programming, you’re in the right place.

I’ve put together a [vast array of prompts](https://godsol.gumroad.com/l/100-chatgpt-programming-prompts) covering everything from basic data structures and algorithms, to more advanced topics like developing applications and exploring new programming languages. While I'm mastering prompt engineering with programming, I'm also educating people about the power of ChatGPT, and how to to get code like this.

> I've included just the best ones to learn from here. For the rest, link above.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pfq6uldhjte7lswf1quc.png)

I see this shift to AI code as a great balancer of power. Now, we can can focus on the workflows, refining software architecture patterns, conceptualizing better, understanding the tools faster. To new students, we refocus on teaching the low-level optimizations that lead to good performance, and the high-level understanding that leads to wise decisions in package/library selection. 



I’ve shared 50 Learning-oriented prompts here, find 100+ more practical examples in this [Gumroad freebie](https://godsol.gumroad.com/l/100-chatgpt-programming-prompts)

Happy to discuss prompt optimization/engineering in the comments. Or AI apocalypse, your choice πŸ€·β€β™‚οΈ

> type chat in the magic rectangle above and hit enter blindly trusting autocomplete; let's GOOO

# Learn Algorithms
Build a linear search algorithm in Python to find a specific value in an array.
Write a bubble sort algorithm in Java to sort an array of integers in ascending order.
Develop a binary search algorithm in C++ to search a sorted array for a specific value.
Build a selection sort algorithm in JavaScript to sort an array of numbers.
Write a quick sort algorithm in Go to sort an array of strings in alphabetical order.
Develop a insertion sort algorithm in Python to sort an array of floats in descending order.
Build a counting sort algorithm in R to sort an array of positive integers.
Write a merge sort algorithm in Java to sort an array of dates in chronological order.
Develop a shell sort algorithm in C++ to sort an array of characters in lexicographical order.
Build a radix sort algorithm in JavaScript to sort an array of large integers.
Write a heap sort algorithm in Go to sort an array of arbitrary objects.
Develop a bucket sort algorithm in Python to sort an array of real numbers into uniform buckets.

# Challenge
Please tell me you aren't just copy/pasting. Bro. Really. Bro.

## Try to take this copy/paste result 

![Laxy man's AI prompt code ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xzte3suotlgxwp2jbvrx.png)

## and make it look like this

![Formatted Prompt Engineering Code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ic07cb5ibfpbi1lyaq0h.png)

### WITHOUT removing anything from the original prompt (you can add only at the beginning or end)

> Here's the rest. Go get 'em, tiger


# App + Tool Prompts
Build a code formatter in Python that formats and indents the given code according to a set of rules.
Build a regular expression evaluator in Java that takes a regular expression pattern and a string as inputs, and returns a boolean indicating whether the string matches the pattern.
Build a URL shortener in JavaScript that takes a long URL as input and returns a shortened URL.
Create a weather app in Ruby that displays the current weather conditions for a specified city.
Build a to-do list application in Swift that allows users to add, edit, and delete tasks.
Build a calculator in Go that takes mathematical expressions as input and returns the calculated result.
Create a file compression tool in C# that compresses and decompresses files.
Build a unit converter in R that converts between different units of Build.
Develop a color picker tool in Kotlin that displays a color wheel and allows users to select a color and see its RGB value.
Build a spell checker in Python that takes a string as input and returns a list of spelling errors, if any.
Create a password generator in Java that generates random, secure passwords of a specified length.
Build a currency converter in JavaScript that converts between different currencies based on real-time exchange rates.

# Learn Programming
Write code snippets in Rust that demonstrate basic syntax, control structures, and data types.
Build a simple web application in Flask that displays a list of items and allows users to add, edit, and delete items.
Write a short program in a new functional programming language that Builds a Fibonacci sequence.
Explore a new game development framework by creating a simple 2D game with graphics and user input.
Write code snippets in a new system programming language that demonstrate how to work with file I/O and process management.
Build a simple data analysis tool in a new data science framework that reads a CSV file, performs some basic computations, and generates a visual report.
Write a short program in a new web development framework that Builds a basic RESTful API.
Explore a new machine learning library by creating a simple model that predicts the likelihood of a binary outcome based on some input data.
Write code snippets in a new database query language that demonstrate how to insert, update, and retrieve data from a database.
Build a simple chat application in a new real-time communication framework that allows multiple users to send and receive messages in real-time.
Write a short program in a new blockchain platform that Builds a simple smart contract.
Explore a new virtual reality framework by creating a simple VR experience with graphics and user interaction.

# Intermediate Functions
Write a function that takes a list of numbers as input and returns the mode.
Build a function that takes a string as input and returns the longest palindromic substring.
Write a function that takes a list of strings as input and returns the list of anagrams.
Build a function that takes a list of numbers as input and returns the largest contiguous sum.
Write a function that takes a list of integers as input and returns a list of all the prime numbers.
Build a function that takes a string as input and returns a boolean indicating whether the string is a valid IP address.
Write a function that takes two strings as input and returns the edit distance between them.
Build a function that takes a list of numbers as input and returns the longest increasing subsequence.
Write a function that takes a string as input and returns the longest common prefix among all the words in the string.
Build a function that takes a graph as input and returns the shortest path between two nodes.
Write a function that takes a list of numbers as input and returns a list of all the combinations of the numbers that add up to a target sum.
Build a function that takes a list of strings as input and returns the longest common substring among all the strings.






# Feedback - Learning Together
Share your experience in the comments, including unexpected behavior so I can update the prompts. 

Tips: 
Not getting code? Add β€œwith code samples”
Not enough code? Ask to β€œWrite [incomplete part of code]
Want a different language? Add β€œin [Language]”
Different stack? Add β€œusing [List of libraries/packages]”
Commented? Add β€œwith comments” or β€œusing [documentation library/package]”

If that’s enough AI for one day, I understand. If you want more, you’ll find it in my [Gumroad freebie](https://godsol.gumroad.com/l/100-chatgpt-programming-prompts). I’m continually updating the list there. 





# Hi there πŸ‘‹ I'm Gudasol, Welcome to my Hive Blog
---

![Gudasol-Type-Only[WhtOnBlk].png](https://files.peakd.com/file/peakd-hive/douglasjames/23tc1o29MzWYnHJJDP3gbz63aHDWjaJMMDpNUECd6WtBJetNiD1dJopGUekhkX2FK2z9V.png)

<h3 align="center"><center><b> 
 <a href="https://www.douglas.life/old-magic">πŸ§™β€β™‚οΈ Mystic</a> ~ <a href="https://www.skillshare.com/r/user/douglasbutner?gr_tch_ref=on&gr_trp=on">πŸ‘¨β€πŸ« Teacher</a> ~ <a href="https://github.com/dougbutner">πŸ‘¨β€πŸ’» Coder</a> ~ <a href="https://soundcloud.com/sirdouglasfresh/popular-tracks">πŸŽ™ Rapper</a> ~ <a href="https://www.redbubble.com/people/SirDouglasFresh/shop">🎨 Designer</a></b></center>
</h3>
___

### I built [cXc.world](https://music.cxc.world) πŸ—Ί

### I teach a model of [Universal Consciousness](https://aquarius.academy/711/) πŸͺ

## I'm the rapper [Gudasol πŸœ›](https://ampl.ink/gudasol) 🌞
___


> my php 🏑 **[douglas.life](https://douglas.life/)** 


- πŸ”­ I’m currently building: [cXc.world](https://music.cxc.world), [Aquarius.Academy](https://aquarius.academy/) and side project [$GOLD + $SILVER](https://github.com/dougbutner/gold) 
- 🌞 I’m looking to collaborate on: [cXc.world Smart Contracts (EOSIO)](https://github.com/dougbutner/beta-pseudo) and [Web 4](https://github.com/dougbutner/web-4)
- βœ‹ Grow with us, join [cXc discord](https://discord.gg/u3kpj7xEWZ), [Aquarius Academy discord](https://discord.gg/KnbA47n6Zj), and [Gudasol discord](https://discord.gg/D6QnUrDyr7)
- πŸ’¬ I love to talk about: [Web 4](https://github.com/dougbutner/web-4), Geotemporal Systems, Biomimetic Economics, Fractal Information, Platonic Solids, Collective Participation Income (CPI), Time Tokens, Channeling, Flow State, Galactic Consciousness.


- 🌎 Fun fact: I have been a Digital Nomad for over 5 years!! Living mostly in Latin America. Currently in Medellin, CO.

___   

## Let's Connect

 [Instagram](https://instagram.com/iammonlove) | [Telegram](https://t.me/godsolislove) | [Twitter](https://twitter.com/dougbutner) | [Discord](https://discord.gg/D6QnUrDyr7)

## Find My Latest on [Linktree πŸ”—πŸŒ³](https://linktr.ee/iammonlove) 

___  

<h1>
<center><a href="https://godsol.gumroad.com/" alt="Douglas Butner Gumroad">πŸ—³ Freebies + Downloads on Gumroad βœ…</a></center>
</h1>
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 146 others
πŸ‘Ž  
properties (23)
authordouglasjames
permlinklearn-chatgpts-mad-code-skills-with-100-prompts-douglaslife100p
categoryhive-148441
json_metadata"{"app":"peakd/2023.2.1","format":"markdown","description":"Written with πŸ’™ by Gudasol πŸœ› ampl.ink/gudasol","tags":["code","photography","hive","art","music","gudasol","ocd","programming","wax","gems"],"users":[],"image":["https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pfq6uldhjte7lswf1quc.png","https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xzte3suotlgxwp2jbvrx.png","https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ic07cb5ibfpbi1lyaq0h.png","https://files.peakd.com/file/peakd-hive/douglasjames/23tc1o29MzWYnHJJDP3gbz63aHDWjaJMMDpNUECd6WtBJetNiD1dJopGUekhkX2FK2z9V.png"]}"
created2023-02-09 00:51:33
last_update2023-02-09 00:51:33
depth0
children2
last_payout2023-02-16 00:51:33
cashout_time1969-12-31 23:59:59
total_payout_value1.475 HBD
curator_payout_value1.596 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length9,877
author_reputation1,521,520,201,315
root_title"Learn ChatGPT's Mad Code Skills with 100+ Prompts πŸ‘¨β€πŸ’» douglas.life/100p"
beneficiaries
0.
accountposhtoken
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id120,611,864
net_rshares5,857,736,603,151
author_curate_reward""
vote details (211)
@hivebuzz ·
Congratulations @douglasjames! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@douglasjames/upvoted.png?202302091419"></td><td>You received more than 2750 upvotes.<br>Your next target is to reach 3000 upvotes.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@douglasjames) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out our last posts:**
<table><tr><td><a href="/hive-122221/@hivebuzz/pum-202301-delegations"><img src="https://images.hive.blog/64x128/"></a></td><td><a href="/hive-122221/@hivebuzz/pum-202301-delegations">Our Hive Power Delegations to the January PUM Winners</a></td></tr><tr><td><a href="/hive-139531/@hivebuzz/proposal-2324"><img src="https://images.hive.blog/64x128/https://i.imgur.com/RNIZ1N6.png"></a></td><td><a href="/hive-139531/@hivebuzz/proposal-2324">The Hive Gamification Proposal</a></td></tr></table>

###### Support the HiveBuzz project. [Vote](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22248%22%5D&approve=true) for [our proposal](https://peakd.com/me/proposals/248)!
properties (22)
authorhivebuzz
permlinknotify-douglasjames-20230209t142112
categoryhive-148441
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2023-02-09 14:21:12
last_update2023-02-09 14:21:12
depth1
children0
last_payout2023-02-16 14:21:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,358
author_reputation368,351,450,819,008
root_title"Learn ChatGPT's Mad Code Skills with 100+ Prompts πŸ‘¨β€πŸ’» douglas.life/100p"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,626,662
net_rshares0
@stemsocial ·
re-douglasjames-learn-chatgpts-mad-code-skills-with-100-prompts-douglaslife100p-20230209t133335493z
<div class='text-justify'> <div class='pull-left'>
 <img src='https://stem.openhive.network/images/stemsocialsupport7.png'> </div>

Thanks for your contribution to the <a href='/trending/hive-196387'>STEMsocial community</a>. Feel free to join us on <a href='https://discord.gg/9c7pKVD'>discord</a> to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support.&nbsp;<br />&nbsp;<br />
</div>
properties (22)
authorstemsocial
permlinkre-douglasjames-learn-chatgpts-mad-code-skills-with-100-prompts-douglaslife100p-20230209t133335493z
categoryhive-148441
json_metadata{"app":"STEMsocial"}
created2023-02-09 13:33:36
last_update2023-02-09 13:33:36
depth1
children0
last_payout2023-02-16 13:33:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length565
author_reputation22,460,334,324,555
root_title"Learn ChatGPT's Mad Code Skills with 100+ Prompts πŸ‘¨β€πŸ’» douglas.life/100p"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,625,621
net_rshares0