Tech With Ken

Tech With Ken

Share

Photos from Tech With Ken's post 11/02/2022

So, Sometimes as an analyst or even a researcher you get loads of numbers (array) and you need to get certain numbers in that array that adds up to a particular target.
This problem of having to get two numbers in a list that adds up to a target was even featured on Leetcode for some of the coding challenges due to its simplicity and also it's usefulness.

Using python programming and the itertools module I decided to solve the problem and yes it wasn't easy but I learnt alot and actually did write a convicing code to adequately tackle the problem.
The uniqueness of my code is that it can help in getting 3,4,5 and so on numbers in a list that adds up to a target unlike the already existing codes.
The code written might not solve a significant problem, but trust me the simplicity of the code would serve as a layout in bigger projects 😊❤️

PS: If you want access to the main python file tell me in the comment section

KKehinde AjasaAKehinde AjasaPython Programmer ❤️😊

25/01/2022

A safe space for meeting people with similar ideas,

Y'all Should try Slack💙

Want your business to be the top-listed Computer & Electronics Service in Lagos?
Click here to claim your Sponsored Listing.

Telephone

Website

Address

Lagos