Context-Free Grammar (CFG) Example: {a^i b^j c^k : i != j}

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 7

  • @asma5972
    @asma5972 2 года назад

    thanks for your videos ! i will passs tomorrow my exam thanks to you , could you please do a video or write me in the comment what would be possible grammar for a^i b^j c^k where k is always < or equal to max(a,b) ?
    i m very confused how i should do that

  • @kellypham2239
    @kellypham2239 2 года назад

    ur videos r awesomeee ty for uploading them

  • @MuralidharReddyVennapusa
    @MuralidharReddyVennapusa 2 месяца назад

    Generate baaac

  • @Acecryz
    @Acecryz 2 года назад +1

    What if there's another condition where j is not equal to k? So it's {i != j or j != k}

    • @hetavshah8863
      @hetavshah8863 2 года назад +1

      did u get the solution ?

    • @shreyparikh3211
      @shreyparikh3211 2 года назад +2

      Same question, did you get any answer??

    • @MLRTrytonix13
      @MLRTrytonix13 8 месяцев назад +2

      what i would do is the union of both langage {a^i b^j c^k : i != j} and {a^i b^j c^k : j != k} and since they are context-free than their union is too?