question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

lessons.

  • Introduction
    • Basic description
    • Default Code
  • BST Insertion
    • Lesson
    • Default Code
    • Tests
  • BST Search
    • Lesson
    • Default Code
    • Tests
  • BST Depth First Search
    • Lesson
    • Default Code
    • Tests
  • BST Breadth First Search
    • Lesson
    • Default Code
    • Tests
  • BST Get Depth
    • Lesson
    • Default Code
    • Tests
  • BST Check Balance
    • Lesson
    • Default Code
    • Tests

More will be added. If you have a lesson idea that is not on here yet, you are welcome to add it.

Who can help

Anyone. If you think you can contribute to the development on a lesson, go ahead.

How do I build a lesson?

Each lesson should clearly describe the chapter’s method through pseudo-code with thorough explanations on how and why every step is happening. It should be possible for a new developer to dive in and build the method using nothing but the lesson’s explanation.

There is a very precise structure for creating a lesson.

Binari\src\views\Playground\chapters is where every lesson is laid out.

..\one
....\defaultCode.js
....\index.js
....\lesson.js
..\zero
....\defaultCode.js
....\index.js
....\lesson.js
..\index.js

Every chapter will have have it’s own folder, and get referenced in index.js

import zero from './zero'
import one from './one'

export default [
    zero,
    one
]

lesson.js will be rendered in markdown defaultCode.js will be wrapped in a string index.js will reference these files.

When a new folder is added to Binari\src\views\Playground\chapters\index.js, it will automatically get added to the directory in the playground through this code.

This will not needed to be changed to add a lesson.

import chapter from './chapters'
const [page, setPage] = useState(0);
const [currentCode, setCode] = useState(beautify(chapter[page].defaultCode));
...
{chapter.map((el,i)=> <tr onClick={()=>changePage(i)} style={{background: page === i && "#222"}}><td>{i}</td><td>{el.name}</td></tr>)}

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
BrandonArmandcommented, May 6, 2020

@hrishibawane please do 😃

1reaction
BrandonArmandcommented, Mar 7, 2020

@alti21 just do anything you would like. The first lesson is meant to be an overview of binary trees as a whole, so i’m still deciding what to do with it, but for each other lesson, feel free to get creating. We obviously want the basics first, such as insertion, searching, checking size, etc… but don’t worry about the first one already having methods, something will be done to it in the future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lesson Updates - Pflaum Gospel Weeklies
Here you will find information specific to lessons and Teaching Guides—when new material has been added to the website, corrections or additions to...
Read more >
LESSON UPDATES - YouTube
Hi Viewers!I am sameera. I am a Post Graduate in English Language and Literature. I have completed B.Ed in English and qualified UGC...
Read more >
Education Updates – Sharing teaching and learning ...
Students can study press coverage of a 1938 meeting between former President Hoover and Adolf Hitler to learn about media literacy, conflicting primary...
Read more >
Lesson Authoring Updates: New Assessment Activities and ...
With so many new assessment activities to choose from, lesson authors can now publish custom lessons containing only assessment activities. This ...
Read more >
5 Tips to Improve Your Lesson Plan | NEA
Make your lesson plans relevant, engaging, and productive. Curriculum and lesson planning can seem daunting, especially as a new teacher.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found