Ranking - Template Mode Scan

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

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

  • @paradisetracksonline
    @paradisetracksonline 8 месяцев назад +3

    helpful in interview preparation !

  • @paradisetracks
    @paradisetracks 8 месяцев назад +4

    could you please upload some guidelines and code for JSON file processing

  • @d.mounikasushma6217
    @d.mounikasushma6217 8 месяцев назад +2

    1. Does this global variable assignment work for the next_in_sequence function also ?
    2. Also about previous function does it work for strings as well?

    • @datapundit
      @datapundit  8 месяцев назад +4

      1. anything global will be called once , it works but called once and same value would be there forever until you try amend the assignment
      2. yes, previous meaning anything from the previous record

    • @d.mounikasushma6217
      @d.mounikasushma6217 8 месяцев назад

      @@datapundit thank you

  • @rabiarathinavel7457
    @rabiarathinavel7457 6 месяцев назад +1

    For the first record how does it got rank 2, it doesn't have any previous records right? It should have rank 1 right?

    • @datapundit
      @datapundit  6 месяцев назад +1

      D1 has an employee E3 who got 895 i.e. the highest salary so that one shall get rank 1

    • @rabiarathinavel7457
      @rabiarathinavel7457 6 месяцев назад

      @@datapundit we are scanning based on only salary?