First Thing First, Learn To Program! - Programming (10) - Nairaland
Nairaland Forum › Science/Technology › Programming › First Thing First, Learn To Program! (39004 Views)
1 2 3 ... 7 8 9 10 11 Reply (Go Down)
| Re: First Thing First, Learn To Program! by progeek37(op): 7:43am On Oct 17, 2020 |
Mosopzy23:Send me a message on WhatsApp, check my contact on my signature |
| Re: First Thing First, Learn To Program! by progeek37(op): 6:16pm On Oct 19, 2020 |
Pursue your dreams and collaborating with other programmers. Join my free coding group today. |
| Re: First Thing First, Learn To Program! by progeek37(op): 9:16pm On Oct 26, 2020 |
Exercise Implement a MyQueue class which implements a queue using two stacks. Guideline: First implement a stack, there are two ways to do this: 1) static implementation using array. 2) dynamic implementation with linked list. Implement _push(element)_ and _pop()_ methods, when the stack is working well, create a class *MyQueueClass* and incorporate the idea of stack in it, but the class will have the methods _enqueue(element)_ and _dequeue()_. How will you do it? Consider this: Stack is _Last-In-First-Out(LIFO)_, that's the the push(element) method will add element to the end of the stack and pop() method will remove and return the very last element added. But Queue is _First-In-First-Out(FIFO)_ the _enqueue(element)_ will also add element to the end like stack's push method but the _dequeue()_ will remove and return the first element added, follow by the second etc. To implement this Queue principle using two stacks, one way to do this is: Instantiate two objects of your stack class, add all the elements in the first stack object when user calls the enqueue(element) of the MyQueueClass. But when user calls the dequeue() method you will apply logic here. Continually pop out the elements in the first stack object into second stack object until the first element is popped out, this first element added, will now be the last element added in the second stack. Pop it out to the user. That's is queue! |
| Re: First Thing First, Learn To Program! by progeek37(op): 4:59pm On Oct 30, 2020 |
The class is still open to the general public. You can subscribe today by sending me a WhatsApp message. Check my Nairaland signature |
| Re: First Thing First, Learn To Program! by progeek37(op): 1:32pm On Nov 11, 2020 |
Exercise Below is described how to find the date of Easter in any year. Despite its intimidating appearance, this is not a hard problem. Note that [x] is the floor function, which for positive numbers just drops the decimal part of the number. For instance [3.14] = 3. The floor function is part of the math module. C =century (1900’s → C =19) Y = year(all four digits) m = (15+C−C4−8C+1325)mod30 n = (4+C−C4)mod7 a = Ymod4 b = Ymod7 c = Ymod19 d = (19c+m)mod30 e = (2a+4b+6d+n)mod7 Easter is either March(22+d+e) or April(d+e−9). There is an exception if d=29 and e=6. In this case, Easter falls one week earlier on April 19. There is another exception if d=28, e=6, and m=2,5,10,13,16,21,24,or39. In this case, Easter falls one week earlier on April 18. Write a program that asks the user to enter a year and prints out the date of Easter in that year. |
| Re: First Thing First, Learn To Program! by progeek37(op): 1:38pm On Nov 11, 2020 |
Why do you have to pay N200, 000 thousand to download Udemy courses? Watching prerecorded made by far away human being! Why don't you just pay a token, and let me drive you to your career path in programming by teaching the fundamentals of programming and algorithms and data structures? Subscribe to my Zoom tutorial and experience a lift in your view of what programming is all about. Send me a WhatsApp message, check on my profile for details. |
| Re: First Thing First, Learn To Program! by progeek37(op): 5:29pm On Nov 13, 2020 |
Learn to program a computer in the 21st century. Send me a WhatsApp message. |
| Re: First Thing First, Learn To Program! by progeek37(op): 11:33am On Nov 15, 2020 |
Subscribe to my Zoom tutorial today sending me a WhatsApp message. Check my Nairaland signature for my contact. |
| Re: First Thing First, Learn To Program! by progeek37(op): 12:36pm On Nov 19, 2020 |
To subscribe my live Zoom class, message me on WhatsApp 08135683431 |
| Re: First Thing First, Learn To Program! by sammyoriade(m): 12:43pm On Nov 19, 2020 |
Median UI v1.3 Blogger Template Free Downlod [Oct, 6 2020 Edition] Bringing to you the Median UI Blogger Template design by a famous blogger and web designer " Jagodesain" . The template is of the Oct 6, 2020 edition. Median UI is completely different to other blogger templates you might have known, being in a different appearance, control, readability and lot more. Median UI is designed with the dashboard UI concept, the template is for use on blogs with niches of News, Techs, Educational gists, Documentary and more related to these. It has a simpler design but has a high readability is a plus point of this template. The menu display is made on the concept of 3 columns in this theme where the first column is made to be the navigation menu which can be minimized. The template was made to look like a web app which made your blog to look completely more different from other blogs. This concept is also used by large websites such as Google Adsense, Google Drive and so on. Features 100% SEO Friendly Easier to customize Dark mode / Night mode Adaptive template Adjustable thumbnail width SVG Icon Modified default Blogger comments Added Breadcrumb Shortcodes 3 Styles (Blogger, Disqus, Facebook) comment. Download for free |
| Re: First Thing First, Learn To Program! by progeek37(op): 5:56pm On Nov 23, 2020 |
If are new to programming or never given much thought to algorithm and data structures, you can subscribe to my tutorial today sending me a WhatsApp message. 08135683431 |
| Re: First Thing First, Learn To Program! by progeek37(op): 1:01am On Nov 29, 2020 |
Contact via WhatsApp on 08135683431 |
| Re: First Thing First, Learn To Program! by progeek37(op): 4:31pm On Dec 01, 2020 |
Reach me on WhatsApp or subscribe to the live Zoom class: 08135683431 |
| Re: First Thing First, Learn To Program! by progeek37(op): 11:07pm On Jan 03, 2021 |
My live Zoom tutorial is available now, to subscribe send me a WhatsApp message. |
| Re: First Thing First, Learn To Program! by Unity01: 3:34pm On Jan 14, 2021 |
progeek37:Hello boss, please add me up, 08128047289.... I really need to learn this |
| Re: First Thing First, Learn To Program! by Stubborn82: 11:42am On Jan 15, 2021 |
progeek37:Hey bro! I want to learn programming, but am not good in mathematics, but i can operate computer very well. Do you think I can grab the knowledge of programming very well? If I can here is my number 08023458511, please add me up, I will love to drink from your pool of programming knowledge. Thanks |
| Re: First Thing First, Learn To Program! by progeek37(op): 3:41pm On Jan 16, 2021 |
Stubborn82:Send me a message on WhatsApp, 08135683431 |
| Re: First Thing First, Learn To Program! by progeek37(op): 11:30am On Jan 20, 2021 |
Contact me on WhatsApp if wish to learn programming from scratch: 08135683431 |
| Re: First Thing First, Learn To Program! by progeek37(op): 11:12pm On Jan 24, 2021 |
If you can code, join my coding group and make your presence count but if you are beginner then subscribe to my live Zoom tutorial. |
| Re: First Thing First, Learn To Program! by Brown253(m): 12:05pm On Jan 26, 2021 |
Please add me to your whatsapp group 090356533117 im currently learning java |
| Re: First Thing First, Learn To Program! by TechCapon(m): 1:28pm On Jan 26, 2021 |
progeek37:is that group still available |
| Re: First Thing First, Learn To Program! by Starkid3010(m): 9:49pm On Jan 26, 2021 |
progeek37:please is this group still available here is my number 07066572839 |
| Re: First Thing First, Learn To Program! by progeek37(op): 2:27am On Jan 27, 2021 |
Starkid3010:Message me on WhatsApp |
| Re: First Thing First, Learn To Program! by daryur01(m): 5:46pm On Jan 27, 2021*. Modified: 6:27am On Aug 12, 2022 |
. |
| Re: First Thing First, Learn To Program! by progeek37(op): 8:52pm On Jan 30, 2021 |
Contact me on WhatsApp to subscribe to my tutorial 0813568343 |
| Re: First Thing First, Learn To Program! by progeek37(op): 9:14am On Feb 18, 2021 |
To subscribe to my tutorial send me a WhatsApp message 08135683431 |
| Re: First Thing First, Learn To Program! by progeek37(op): 11:58am On Mar 05, 2021 |
To subscribe to my live Zoom tutorial message me on WhatsApp via 08135683431 |
| Re: First Thing First, Learn To Program! by progeek37(op): 5:58am On Mar 10, 2021 |
To join my Java and Python tutorial class, send me a WhatsApp message via 08135683431 |
| Re: First Thing First, Learn To Program! by progeek37(op): 3:01pm On Mar 23, 2021 |
Subscribe to my live Zoom tutorial to learn how to program a computer in just 3 months. Send me a message on WhatsApp 08135683431 |
| Re: First Thing First, Learn To Program! by progeek37(op): 9:11pm On Mar 26, 2021 |
My Zoom tutorial is still available, to subscribe, just send me a WhatsApp message via 08135683431. |
Learn How To Program For Free • How To Program Outseal Arduino PLC • [Beginner Question] Where can I learn how to program In Abia State? • 2 • 3 • 4
What Are Those Steps To Becoming A Penetration Tester? • Nigerian Software Engineer given test to prove he is an engineer at JFK Airport • How Much Do You Charge As A Web Developer?