Skip to content

Instantly share code, notes, and snippets.

View ravichalla's full-sized avatar
🎯
Focusing

Ravi Challa ravichalla

🎯
Focusing
View GitHub Profile
@ravichalla
ravichalla / gitflow.md
Created April 22, 2020 11:15 — forked from sheremetat/gitflow.md
Git rebase workflow

Step 1: Checkout a new working branch from updated master

 git checkout -b <branchname>

Step 2: Make Changes

 git add
 git commit -m "description of changes"

Step 3: Sync with remote

@ravichalla
ravichalla / System Design.md
Created November 10, 2019 21:05 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
'''
Implementing arranging of BFS of 8 queen
'''
BOARD_SIZE =3
goal_state =[1,2,3,4,5,6,7,8," "]
state1 =[1,2,3,4,5,6,7," ",8]
state2= [1,2," ",5,6,3,4,7,8]
def BFS(initial_state):